I just found how to do this (in case where s.o. would have been interested in):
You just have to allow unsafe compilation in the properties of your project and then, declare the function (obviously the one wich contains the "unsafe" code) as an "unsafe function" and declare in it an unsafe...
Hello,
I'm looking for getting the values contained in the registers pointed by an IntPtr. In fact, it's a bitmap file, but I only can get its memory location with the IntPtr. So, how could I get its own value ?
Here is a part of the code:
IntPtr hbitmap = Intptr.Yero;
TwRC rc;
rc =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.