can we create a window without using-->
right now i m creating a window using CreateWindow(,,,,) but in this we hav to pass a register class which takes the HINSTANSE of the WinMian function.Code:int APIENTRY WinMain(HINSTANCE hinstance, HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdshow)
I want to know if we can create a window without using this as i have to work on C++ not on Win32 ie
VirenderCode:void main (void) { //here i want to create a window }




Reply With Quote