I want to get my Active window's processName and MainWindowTitle then set it as a string Variable so that I can use it for later use, such in Filenami ...
I want to get my Active window's processName and MainWindowTitle then set it as a string Variable so that I can use it for later use, such in Filenami ...
I am passing a byte array from a function inside c++ DLL to a c# client. I am using a widely suggested method IntPtr pointer in C# and then Marshal.Co ...
I'm trying to serialize my struct and I need to convert IntPtr to byte array. Here's an example: Why? ...
I have an IntPtr which is a pointer to an array of structs, and I'm trying to convert it to the array. I tried Marshal.Copy(srcIntPtr, destIntPtrArr ...
Since "IntPtr.Size" checks the size of int's pointer based on the current process, is it the same as "Environment.Is64BitProcess"? If yes, why can I ...
I have a C DLL that im calling from a C# application. I am able to successfully receive the struct from the DLL but im having trouble sending the same ...
I need to convert a double array in c# to an IntPtr to properly send it to my c DLL. I have successfully been able to convert from IntPtr to double[,] ...
The following code to copy a .NET array to a numpy array works in python 2.7.17 but not anymore in python 3.7.7: I'm aware that there were some cha ...
I am using tinyfiledialogs lib and i am able to save files in folders which names are in English but when i try to save the exact same file in folder ...
I have a C# form. I am calling unmanaged functions from a C++ dll. I have a callback called FUNDownDevCBEx this returns variables int nType, IntPtr p ...
I want to make a simple program for reading a value of a program. I found a class on the internet which has everything i need to read/write data to th ...
I am currently refactoring an application to 64 bit and I am trying to understand a specific use of the IntPtr. The code that I am trying to understan ...
So I have a problem: I'm reading a string from a memory address that is different at different times. For example: I only need Axe. I only need ...
I'm not very familiar with C# and I'm trying to use 'Marshal.Copy' but it's not changing the value of the IntPtr that I'm using. Where InitPointer ...
I would like to know what the different value of IntPtr mean. For example, I know that 202 means left button up. Where can I find a list of the values ...
I want to override some functionality in a control, by disabling zooming when the Ctrl button is clicked and the mousewheel is moved. This works fine ...
I'm creating a client in C# to connnect to bopup using some examples. I'm getting a 0 value for the handle when running as windows application whereas ...
I'm having a problem. So I'm working on an app that will be able to change a float in memory but the address I'm having is too long for IntPtr. This ...
(This is in some sense a follow-up question to Extracting structs in the middle of a file into my structures other than accessing the file byte for by ...
Simplifying the problem, here is the native methods that I try to invoke from my .NET class. [NativeDll.dll] Header C++ Implementation When i ...