Do they have some relationship?
-
When I use CreateWindow function to create a window, I must assign a HINSTANCE to the function ,just as follows: HWND ghApp; HINSTANCE ghInst; ghApp = CreateWindow(CLASSNAME, APPLICATIONNAME, WS_OVERLAPPED | WS_CAPTION, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, 0, 0, ghInst, 0); Now,can you tell me the relationship of ghApp and ghInst? and the difference of the two?
-
When I use CreateWindow function to create a window, I must assign a HINSTANCE to the function ,just as follows: HWND ghApp; HINSTANCE ghInst; ghApp = CreateWindow(CLASSNAME, APPLICATIONNAME, WS_OVERLAPPED | WS_CAPTION, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, 0, 0, ghInst, 0); Now,can you tell me the relationship of ghApp and ghInst? and the difference of the two?