KB4537820 causes System.ComponentModel.Win32Exception in .Net framework...
I need to report what appears to be a serious bug in the KB4537820 windows 7 sp1 automatic update that was released 11th Feb 2020...
View ArticleCommon Language Runtime Debugging Service error when running application
Hi Community, I am currently experiencing a problem with a piece of software I have installed on a Windows 10 1903 system. Whenever I launch the program as any other user than the domain admin, the...
View ArticleDump file Analyze
Hi,Need your help, I have 2 days of debugging without a true results.Can you help me identify the problem from the dumb Microsoft (R) Windows Debugger Version 10.0.18362.1 AMD64 Copyright (c) Microsoft...
View ArticleHow to dispose a custom class object
Hi, I have a custom class who doesn't inherit any system component object.How should I dispose an object of this class?My class does not inherit a dispose method, so how should I create one?I have read...
View ArticleInserting an object into a DynamicMethod MSIL body without altering its...
Thanks to some amount of masochism, I find myself trying to make a DynamicMethod that will bind to a delegate. The signature of the delegate can vary so the reaction to it can change--hence the...
View ArticleCall to method of MarshalByRefObject hangs when attempting to return...
Hi,I have a baffling problem with trying to transfer over a serializable object from a child app domain. It creates the object just fine inside the child domain, but when the MBR call that is creating...
View ArticleError "Could not create SSL/TLS secure channel" for TLS 1.2
Hello to all, please i need some help for the problem I'm about to describe: my company has a .NET application that calls a url from an external supplier via web service rest. The url is of HTTPS type...
View ArticleWinform use lua to control Mouse
I try to use Logitech mouse to send stringI click Forward button it will send string but I can't use winform to send string to it to modify itI find logitech has G-sries Lua...
View ArticleIssue launching executable with elevated privileges from one without such...
I have a strange problem that only manifests itself occasionally on some machines. So far I have seen this happen on one or two machines on Windows 10. The same thing, however, works fine on *other*...
View ArticleCan SmtpClient.Send() Method send through different thread instead of main/ui...
Hello All,I try using SmtpClient.Send() in my C# application , as per my understanding this method will initiate the sending on the main/ui thread and would block..but in my application it seems...
View ArticleIdentify StrongName from Assembly PublicKey?
I'm looking to update some code to remove the old CAS functionality and instead stand up an AppDomain using the newer sandbox configuration. My problem is I'm trying to determine the StrongNames for a...
View ArticleInstrumentation Profiler in CoreCLR(.Net Core) - Ways to get HttpContext in...
I am trying to Instrument .NET Core web applications that runs on .NET Core 3.1 using CoreCLR Profiler. When I allow injecting the code into the Web application's method the helper assembly(.NET...
View ArticleContent of a newly created disk file
Suppose something like the following snippet:string filePath = @"C:\MyFolder\MyFile.dat"; var fs = File.Create(filePath); fs.SetLength(1000000000); fs.Close(); Is a newly created file always guaranteed...
View ArticleCan C-style DLLs be isolated inside a .NET AppDomain?
Do .NET AppDomains only isolate .NET assemblies; that is, do C-style DLLs always get shared across AppDomains? I have a C# framework that uses Nuget package HDF.PInvoke to create a simpler API for...
View Articleerror in assemblyBuilder when moving from Win7 to Win10
HI,I am migrating a from Win7 to WIN10 in VS2015 using .net35SP1. The project runs fine on Win7 but on Win10 it give a runtime error of "Strong name key container not found."I have searched around some...
View ArticleKey not valid for use in specified state in RSA encryption
RSACryptoServiceProvider RSA = new RSACryptoServiceProvider();private void button1_Click(object sender, EventArgs e) { var rsa = new RSACryptoServiceProvider(); var...
View Articlehow to create multi thread in c++/cli windows form
Hi, i have created windows form in c++/cli. In my form i used listbox, textbox and button. so when i press button following function should execute....but am getting cross thread error.... please give...
View ArticleRandomly Crash Windows Application
Faulting application name: XXXXXXX.exe, version: 1.0.0.0, time stamp: 0x5e71bd76 Faulting module name: clr.dll, version: 4.7.3260.0, time stamp: 0x5bb7bcb7Exception code: 0xc0000005 Fault offset:...
View ArticleCryptography: net standard 2.0 class library, net core 2.2 app, cannot use...
The problem:Using keys contained in an X509 certificate for encryption, implemented in a .Net Standard 2.0 class library, doesn't work if that class library is used by a .Net Core 2.2 application. Or...
View ArticleSystem.IO.FileLoadException: Could not load file or assembly 'OpenTracing'...
I have added <PackageReference Include="OpenTracing" Version="0.12.0" /> as reference to the .NET Standard 2.0 project and build the assembly successfully. But while executing .NET Standard...
View Article