kernel32
Why does ReadProcessMemory always return zeros?
Given the code below, ReadProcessMemory always returns an array of zeros. I\'m trying to locate a string (which may be numeric) in a running process and identify all the locations where that string ex[详细]
2023-03-10 17:17 分类:问答Setting custom interface written in C++/CLI to null may causes program to crash
I have a custom .Net interface written in C++/CLI: public interface class IBackgroundExtractor { }; In my C# application, the interface is used by:[详细]
2023-03-06 22:32 分类:问答Are there C# versions available of common DLLImport declarations?
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[详细]
2023-02-17 17:37 分类:问答setting the system time with C#.NET without using kernel32.dll
Is there a way to set the system time in C#.NET without using kernel32.dll? I\'m on a 64 bit system and calling the set time function seems to return \"false\" f开发者_C百科or me.The .NET framework d[详细]
2023-02-11 15:00 分类:问答EnumResourceNames issue - unknown error
I was recently working with resources from secondary libraries/binary modules and encountered a strange error.[详细]
2023-02-06 06:07 分类:问答Getting the symbols of kernel32
Is the Symbol Server the only way to get the symbols of 开发者_如何学编程kernel32.dll in C++/Windows?[详细]
2023-02-05 01:19 分类:问答P/Invoke call just stops
I\'m trying to write data to a serial port via P/Invoke (explicitly not with the SerialPort-class). Here\'s what I have so far:[详细]
2023-01-29 00:52 分类:问答VS2008 debugger and kernel32.dll
I\'ve been just debugging a process (in C++/windows) which uses \"GetThreadContext\" which is in kernel32.dll.[详细]
2023-01-28 01:46 分类:问答CreateFile in Kernel32.dll does not allow me to open a physical disk
I am trying to use the following code to get the MBR from PhysicalDrive0: private static byte[] ReadMbr(string lpFileName)[详细]
2023-01-27 16:26 分类:问答C# GetProcAddress Returns Zero
For some reason, whenever my C# .NET 2.0 application makes a call to GetProcAddress it always returns zero.[详细]
2023-01-16 18:06 分类:问答