I am having a problem with PInvoking some WinAPI functions that accept WAVEFORMATEX structures as parameters. Since the length of the WAVEFORMATEX structure can vary, I implemented a WaveFormatEX clas
How can I use the ListView_GetBkImage macro: http://msdn.microsoft.com/en-us/library/bb761246(v=VS.85).aspx
I am using P/Invoke methods in my .NET application. As the functions are C++ functions; each one has return type lik开发者_如何学Pythone int, intptr or any struct. The return type is enough to tell me
Ok this is not duplicate of \"Alternative to Process.Start()\" because my question is something different here.
I´m facing a problem when trying to close a Windows Explorer (not Internet Explorer) window through another application, using the \"Process.CloseMainWindow()\" method; because it doesn´t close the
I need to expose some C++ classes to C# (I am building on Linux, using mono, so COM is not an option)
We have a moderate size (40-odd function) C API that needs to be called from a C# project. The functions logically break up to form a few classes that will comprise the API presented to the rest of th
I have a C# struct to represent a cartesian vector, something like this: public struct Vector { private double x;
I\'m trying to extend TextBox control to add watermarking functionality. The example I\'ve found on CodeProject is using imported Sen开发者_运维百科dMessage function.
I\'m using a dll that contains unmanaged code for interacting with specific hardware, and I\'m trying to use it from C#, but I keep getting an AccessViolationException.