hi,
how can i get an hinstance in a dll. i tried AfxGetInstanceHandle but i cant really get it to work. im using devcpp on winxp.
anytips would be great.
thanks.
This is a discussion on getting an hinstance within the Windows Programming forums, part of the Platform Specific Boards category; hi, how can i get an hinstance in a dll. i tried AfxGetInstanceHandle but i cant really get it to ...
hi,
how can i get an hinstance in a dll. i tried AfxGetInstanceHandle but i cant really get it to work. im using devcpp on winxp.
anytips would be great.
thanks.
Using LoadLibrary(...) gets you a HMODULE, which from my experience is synonymous with a HINSTANCE.
awesome thanks i got it working now