I would use the Borland C++ files and do the following:
1. declare CDS_FULLSCREEN like Enigma said
2. change WinMain to int Winmain
3. add a return 0 at the end of Winmain
Newb question
I would use the Borland C++ files and do the following:
1. declare CDS_FULLSCREEN like Enigma said
2. change WinMain to int Winmain
3. add a return 0 at the end of Winmain
1. declare CDS_FULLSCREEN like Enigma said
2. change WinMain to int Winmain
3. add a return 0 at the end of Winmain
Ok
1)I typed "#define CDS_FULLSCREEN 0x00000004" at the beginning of the code and this seems to have worked, thanks .
2&3)This is what i have done to this part of code to
}
WINAPI int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
return 0;
{
it got rid of the other error, but now its telling me there is a "Parse error before ''0''"on the ''return -;'' line This is the only error left other then:
339 lesson01.cpp
confused by earlier errors, bailing out
Thanks for your time
1)I typed "#define CDS_FULLSCREEN 0x00000004" at the beginning of the code and this seems to have worked, thanks .
2&3)This is what i have done to this part of code to
}
WINAPI int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
return 0;
{
it got rid of the other error, but now its telling me there is a "Parse error before ''0''"on the ''return -;'' line This is the only error left other then:
339 lesson01.cpp
confused by earlier errors, bailing out
Thanks for your time
That''s because it should look like this:
WINAPI int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow){return 0;}
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement