Re: Cannot convert of type HANDLE to HANDLE

2009-09-09 Thread Ary Borenszweig
Sam Hu escribió: 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.

Re: Cannot convert of type HANDLE to HANDLE

2009-09-09 Thread Sam Hu
Ary Borenszweig Wrote: FQN = Fully Qualified Name Got it.Thanks!

Re: Cannot convert of type HANDLE to HANDLE

2009-09-08 Thread div0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sam Hu wrote: Under DMD 2.032+Window Xp: Can I use HMODULE LoadLibraryEx( LPCTSTR lpFileName, // file name of module HANDLE hFile, // reserved, must be NULL DWORD dwFlags // entry-point execution option ); in

Re: Cannot convert of type HANDLE to HANDLE

2009-09-08 Thread Sam Hu
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