Trying to access an old c++ dll from c# using Dll Import. Been searching around the net for aprox 4 days now without success.
I am trying to write a class in C# to use exports from a dll but I have run into a bunch of functions that have an array as a function parameter that I am not sure
I am working on a project that needs to be able to call functions in Win32 DLLs. However, the name of the DLL, function, and data types of all arguments and return type are not known at compile time,
I\'ve created a service that runs as the Local System user. This service launches and monitors a Silverlight Out-of-browser application using native interop and the CreateProcessAsUser() method (to ru
I\'m doing C++ --> C# interop stuff an开发者_开发问答d I have a bunch of structs that contain each other like Matryoshka dolls. The problem is that one of these \'nestings\' takes the form of a fixed
I am trying to call a C DLL from C#, but I\'m not having any joy. The documentation for the DLL provides an example function delaration for VB that looks like;
Guys I am having difficulties on retrieving struct member values after calling a function in the DLL. I tried to convert the C++ codes into C# but I’m not sure if it is corre开发者_如何学JAVAct or no
I have a WPF audio application. Occasionally (and even in the debugger) I\'m seeing a NullReferenceException which carries no stack trace information with it.
I\'m creating a very simple PInvoke sample: extern \"C\" __declspec(dllexport) int Add(int a, int b) { return a + b;
Apparently there\'s a list of blittable types and so far I don\'t see Enums specifically on it. Are they blittable in general? Or does it depend on whether they are declared with a blittable base type