HINSTANCE and HMODULE?

Started by
2 comments, last by Rocket05 21 years, 11 months ago
Whats the difference between HINSTANCE and HMODULE for using it as a handle to a DLL?
"I never let schooling interfere with my education" - Mark Twain
Advertisement
In Win32, none whatsoever.
---visit #directxdev on afternet <- not just for directx, despite the name
The words "INSTANCE" and "MODULE"
daerid@gmail.com
HINSTANCE is a throwback to Windows 3. Just so, it''s good practice to use the appropriate type as indicated.

For reference:

typedef HANDLE HINSTANCE;
typedef HANDLE HMODULE;
typedef void *HANDLE;
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man

This topic is closed to new replies.

Advertisement