Questions tagged [hinstance]

HINSTANCE is a name given to a Handler instance in Window application

HINSTANCE is a name given to a Handler instance in Window application

18 questions
0
votes
2 answers

"hInstance" is undefined. c++ WIN32 APP

Win32 application. In the MyRegisterClass the wc.hInsance = hInstance.Apparently "hInstane is a undefined idetifier. Why's that ? Im using Visual Studio 2013 and im following Jonathan S Harbours book about Game Programming. Code. include…
Tarmiac
  • 846
  • 1
  • 8
  • 14
-1
votes
1 answer

DLL hinstance with in the same dll

I have an MFC dll with is used in an application.This Dll doesn't have DLLMain function.Now how do i retrieve hinstance of the said dll with in the dll?I am using VS 2010.
-2
votes
1 answer

Initialize a reference to HINSTANCE inside constructor

I've a class and I want to make it as a global object(I have a good reason for it), but for that I need to initialize all the elements(If not I get C2512 No default constructor) which is a problem because I use a reference to an HINSTANCE on it that…
OnelioD
  • 7
  • 6
1
2