i know this is an easy fix… but ive tried everything just too fix this simple error… it never use to do this…
hwnd = CreateWindowEx(NULL, // The extended window style.
"OpenGL", // window Class name.
"OpenGL Basic Window",// window name.
WS_OVERLAPPEDWINDOW | WS_VISIBLE | // The window style.
WS_SYSMENU | WS_CLIPCHILDREN | // window style.
WS_CLIPSIBLINGS, // window style.
100, 100, // window x, y coordinate.
640, 480, // window width and height.
NULL, // handle to parent window.
NULL, // menu.
hInstance, // handle to app instance.
NULL); // pointer to window creation data.
at the end where it says pointer to window creation… i keep getting this error
C:\Documents and Settings\Owner\Desktop\Gl_Intro\Intro\Window.cpp In function `int WinMain(HINSTANCE__*, HINSTANCE__*, CHAR*, int)':
178 C:\Documents and Settings\Owner\Desktop\Gl_Intro\Intro\Window.cpp [Warning] passing NULL used for non-pointer converting 1 of `HWND__* CreateWindowExA(DWORD, const CHAR*, const CHAR*, DWORD, int, int, int, int, HWND__*, HMENU__*, HINSTANCE__*, void*)'
everything is linked right… its a building error
lol im pretty sure someone knows this…