Convert IntPtr to Handle

  • Thread starter Thread starter erupakat
  • Start date Start date
E

erupakat

Hello,
I am using VS2005 along with a third part SDK . In that I am having a
function called OpenInterface() which will return a Handle .I think in
VS2005 they replaced Handle with IntPtr. How can I solve this issue. I
require this handle in all functions provided by SDK.
Thanks
 
I am using VS2005 along with a third part SDK . In that I am having a
function called OpenInterface() which will return a Handle .I think in
VS2005 they replaced Handle with IntPtr. How can I solve this issue. I
require this handle in all functions provided by SDK.

What's the exact function prototype and type name?
 
You can try changing the definition from IntPtr to Integer. It works for
many APIs
 
I want to change from IntPtr to Handle type.
The function I am using has the prototype
Handle OpenInterface()
 
The function is like
Handle OpenInterface();

The problem is we do not know anything about the 'Handle' type the function
is using. Do you have the 'typedef' for the type?
 
Back
Top