Cannot convert of type HANDLE to HANDLE

Sam Hu samhudotsamhu at gmail.com
Tue Sep 8 20:00:47 PDT 2009


div0 Wrote:
> You must have two different HANDLEs around.
> The one in phobos is aliased to void* and there is no LoadLibraryEx call
> in phobos, so you must be using something else.
> Try using the FQN of the import where you are getting the LoadLibraryEx
> from.
Thanks for your help.

Yeah.I use DFL plus win32 package(http://www.dsource.org/projects/bindings/wiki/WindowsApi).
import dfl.all;
import Win32=win32.windows;
Now it got compiled and ran,but all main functions wrote in win32 API did not work(I mean does nothing),almost just a functionless Form.

PS.For *FQN of the import*,what do you mean?

Regards,
Sam




More information about the Digitalmars-d-learn mailing list