win hworld problem winxp

Started by
1 comment, last by anarchyhl 21 years, 10 months ago
Hello, I have been trying a hello world program written using Windows code, not C++ (printf("hello world") and I tried it on my computer with Windows XP. It didn''t work (not surprised, XP has a shitload of problems). It does work on my other computer that has Windows 98 (Probably because XP uses NTFS filesystem, while win98 uses FAT32 filesystem???) Heres my error: --------------------Configuration: win32_2 - Win32 Debug-------------------- Compiling... win32_2.cpp Command line error D2027 : cannot execute ''c1xx'' Error executing cl.exe. win32_2.exe - 1 error(s), 0 warning(s) Heres the code: #define WIN32_LEAN_AND_MEAN #include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { MessageBox(NULL, "\tHello, World!", "My First Windows Application", NULL); return 0; } If anyone can give me any help or direction in what to do, it will be greatly appreciated.
-oompa loomparea51
Advertisement
c1xx is the front-end C++ compiler. Chances are, there is a problem with your installation of Visual C++.

Edit: Why did you start another thread on this topic?

[edited by - Martee on June 2, 2002 8:25:19 PM]
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
Looks like it''s not a problem with your source but with your compiler. The error message your getting says that your linker can''t be executed. (or at least something it needs, since the linker is cl.exe and I have no idea what this c1xx is, although I should, cause my mind is working hardly when I think of it ;-)
So I suppose you check your environment/compiler/linker settings and do a search for this c1xx...

This topic is closed to new replies.

Advertisement