Link to home
Start Free TrialLog in
Avatar of eppsman
eppsman

asked on

Getting OWL app's hInstance

I am having a big time problem trying to get the HINSTANCE of my OWL app! All I need it for is to send it to TDib's constructor so I can load a TDib from my resources. I have tried using many techniques, including using GetWindowClass(), and GetWindowLong(). I keep getting General Protection Faults every time I try to get the HINSTANCE. Please Help!
ASKER CERTIFIED SOLUTION
Avatar of JPM
JPM
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eppsman
eppsman

ASKER

Thanks! It worked!