Mylu
11-16-2003, 09:54 AM
heres the code *:
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
{
messageBox(NULL, "hello, world!", "My First Windows Application", NULL);
return 0;
}
please tell me whats wrong it always says 1 error cannot compile with msvc++ 6.0 stand edition.. or i need to use other program ? or why it wont work or how to fix the problem please ive tried for over 1 month on websites ect trying to get how to fix but pelase help!! it would be very apprieciated
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
{
messageBox(NULL, "hello, world!", "My First Windows Application", NULL);
return 0;
}
please tell me whats wrong it always says 1 error cannot compile with msvc++ 6.0 stand edition.. or i need to use other program ? or why it wont work or how to fix the problem please ive tried for over 1 month on websites ect trying to get how to fix but pelase help!! it would be very apprieciated