after I did what you said:
HWND (CreateMainWindow(HINSTANCE hInstance))
{
WNDCLASSEX wndClass; //WNDCLASSEX Struktur
//Struktur initialisieren
wndClass.cbSize=sizeof(WNDCLASSEX); //Größe angeben
wndClass.style =CS_DBLCLKS | CS_OWNDC|//Standart
CS_HREDRAW | CS_VREDRAW;//Stile...
error C2146: syntax error : missing ';' before identifier 'CreateMainWindow'
error C2501: 'HWND' : missing storage-class or type specifiers
fatal error C1004: unexpected end of file found
Error executing cl.exe.
(by the way i am goomouse only that the other acount doesn´t work)
I did what you said but it aint working
any other ideas?
if so, thanks
HWND CreateMainWindow(HINSTANCE hInstance)
{
WNDCLASSEX wndClass; //WNDCLASSEX Struktur
//Struktur initialisieren
wndClass.cbSize=sizeof(WNDCLASSEX)...
"I seem to have 3 errors in this and they are all from here" hWnd CreateMainWindow(HINSTANCE hInstance) "to here. It says that there is missing a ; before the identifier CreateWindowMain. Here is the rest of the code (its only a simple Windows in Windows)
{...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.