I\'m trying to find a way to detect the radius of the themed window corner (pls, see the picture attached). E.g. for Aero theme when DWM is on all corners have radius开发者_C百科 8, when DWM is off on
I created dll in c++ and wanted to call function from it using c#. I has an error if function, which program calls, returns string.
In VS2010, the managed debugging assistant will give you a pInvokeStackImbalance exception (pInvokeStackImbalance MDA) if you call a function using the wrong calling convention, commonly because you d
I want to make a native C++ all that can be used from a C# project. If I want to pass a string from C# to the function in the C++ all, what parameter should I use?
There are many Win32 API calls / libraries like kernel32 or shell32 that may be usefull to call from C#. A common method of using them is looking up the method definition on the pinvoke.net website, a
This question already has answers here: Closed 11 years ago. Possible Duplicate: sizeof(int) on x64? The size of IntPtr changes from 4 to 8 when compiled for x64 versus x86.
I have a Visual Studio 2008 C# .NET 3.5 application that P/Invokes a native method that accepts a file handle as a parameter. Originally, I was just using FileStream.SafeFileHandle.DangerousGetHandle(
i\'m having problems calling a delphi function from C# (attempted to read or write protected memory), and was wondering what the correct way of calling the method should be. The Delphi function signat
Do CPython has something similar to .n开发者_如何学运维et c# PInvoke? For example I have some.dll or some.so and would like to register some functions from it on runtime and start using those in my p
This question already has answers here: Marshal "char *" in C# (2 answers) Closed 4 years ago.