Re: [GD-Windows] CreateDialog failure
Brought to you by:
vexxed72
From: Pierre T. <p.t...@wa...> - 2002-08-25 20:58:35
|
> - Then, I tried using GetModuleHandle() with various parameters, to get back > the instance handle from DLL 1. I would have expected GetModuleHandle(NULL) > to work. Nope, it never made any difference. It also took me a while to > figure out that HMODULE was actually the same as HINSTANCE. ....and of course after reading the docs more carefully I finally made it work, simply passing the DLL name as a parameter. Next time I'll RTFM twice. Pierre |