I try to compile the following code and it has an error with this part
Code:if (!(hwnd = CreateWindowEx(NULL, // extended style WINDOW_CLASS_NAME, // class "Your Basic Window", // title WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0,0, // initial x,y 400,400, // initial width, height NULL, // handle to parent NULL, // handle to menu hinstance,// instance of this application NULL))) // extra creation parms ****THIS IS WERE THE ERROR IS****
it says
Code:warning: trying to convert NULL to a non-ponter type.



LinkBack URL
About LinkBacks


