F
Fred Hebert
I am trying to use a 3rd party DLL that requires the main window handle as
a parameter.
e.g. MyFunc(WHND MyHandle);
The example looks something like this:
Result = MyFunc(Handle);
Where "Handle" is the Win32 handle.
Trying to use the example as written results in a compiler error:
cannot convert parameter 5 from 'int' to 'HWND'
First isn't the HWND basically an unsigned integer? I have tried type
casting and several other things, but nothing the compiler likes.
Does anyone know how to make this work?
a parameter.
e.g. MyFunc(WHND MyHandle);
The example looks something like this:
Result = MyFunc(Handle);
Where "Handle" is the Win32 handle.
Trying to use the example as written results in a compiler error:
cannot convert parameter 5 from 'int' to 'HWND'
First isn't the HWND basically an unsigned integer? I have tried type
casting and several other things, but nothing the compiler likes.
Does anyone know how to make this work?