unmanaged
'SystemAccessViolationException' occurs intermitently
My app is a Windows .NET client which uses COM objects....Basically wat we do is create a COM object instance call some methods on them and ReleaseCOMObject...however in some scenarios (on prod with a[详细]
2023-03-03 08:43 分类:问答What does the class name ending "Managed" mean (C# .NET)?
I\'m relatively new to C# so please bear with me. I understand the basic difference between managed and unmanaged code. But I\'m still a bit confused when to use some methods.[详细]
2023-03-02 03:03 分类:问答Calling a C# function from unmanaged c++ (via a managed wrapper)
I have C++ source & headers for a set of libraries which I need to call from a C# application.I\'ve created a managed C++ wrapper around the functions I need and am able to call them from C# marsh[详细]
2023-02-28 08:52 分类:问答Marshaling structs with strings and arrays from managed to unmanaged code
I have a simple C# data structure with a string, an int and a vector of ints: class MyManagedClass { public string m_Str;[详细]
2023-02-28 05:56 分类:问答Reg: Managed objects and native resources in .net
I have come across this line when i was reading about dispose method documentation in msdn. here. In the explanation give there is a line which says Use the Dispose method primarily on managed objec[详细]
2023-02-26 13:40 分类:问答Which unmanaged API should I use to control a serial port?
The saga continues... I\'m rapidly coming to the conclusion that my serial device is too pernickety to play nicely with the SerialPort class provided by System.IO.Ports.[详细]
2023-02-24 17:39 分类:问答C#: Converting String to Sbyte*
My C# code uses a Managed C++ Wrapper. To make a new object of this Wrapper\'s type, I need to convert String\'s to Sbyte*\'s. A few StackOverflow.com posts discussed how to convert String to byte[],[详细]
2023-02-24 12:55 分类:问答Not able to access session in Httpmodule for static resources like css /js/ image files
I have created a HTTPModule. Session information is retrieved using PreRequestHandlerExecute. It is working well for aspx pages. But while loading css/js or any image files, Session is null.[详细]
2023-02-24 06:48 分类:问答Handling an Unmanaged String in a C++/CLI Wrapper - BLOCK_TYPE_IS_VALID, _CrtIsValidHeapPointer
I\'m new to C++/CLI but have been coding managed code for many years... apparently too many years. :)[详细]
2023-02-23 07:06 分类:问答Setting up automatic crash dump generation on Windows
I\'ve been looking around S开发者_如何学GoO, but didn\'t find the definitive answer. I want to set up automatic crash dump generation on a production machine so that whenever a crash or hang happens,[详细]
2023-02-22 07:57 分类:问答