|
-
April 18th, 2004, 06:25 PM
#1
How to get a HINSTANCE of the current programm ?
Hi,
even if it sounds like a joke, I mean it serious.
Ok, for sure I know that this HINSTANCE is passed via arguments to WinMain.
But what I want to do is, to write some C++-classes that need a HINSTANCE to to program they are used in, and for some reasons, I don't want to pass itfrom WinMain.
So is there a possibility to get a HINSTANCE of the current module from anywhere inside the code ?
thanks for your help
highhead
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|