1>------ Build started: Project: opengl, Configuration: Debug Win32 ------
1>Compiling...
1>helloworld.cpp
1>d:\documenten en settings\graphic\mijn documenten\c++\opengl\helloworld.cpp(1) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Build log was saved at "file://d:\Documenten en settings\graphic\Mijn documenten\C++\OpenGL\Debug\BuildLog.htm"
1>opengl - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
code :
#include <windows.h>
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
MessageBox(NULL, "\tHello World!", "My first windows app", NULL);
return 0;
}
anyone helpful ?
compiling with bcc32 (borland) and tried with MSVisual C++ 2005 Express
DamN (nickname)