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.
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