james2432
June 25th, 2009, 10:02 AM
I was wondering how to go about doing this...
I have a dll that calls a c++ class that creates a window using WinAPI
I've been fallowing this guide:
http://msdn.microsoft.com/en-us/library/bb384843.aspx
but I do not have "hInstance" seeing as it's in a class and it's not in WinMain()
is it possible to pass null to the hInstance? if not how do we create a new one?
I have a dll that calls a c++ class that creates a window using WinAPI
I've been fallowing this guide:
http://msdn.microsoft.com/en-us/library/bb384843.aspx
but I do not have "hInstance" seeing as it's in a class and it's not in WinMain()
is it possible to pass null to the hInstance? if not how do we create a new one?