Click to See Complete Forum and Search --> : Compilation Error Using Visual C++ 2


niceeric22
December 17th, 2002, 09:04 PM
Hi all,

I use Visual C++ Version 2 to compile one of my C program
and it return an error like this

============================================
Command line error D2022 : cannot open 'C:\Documents'
Error executing cl.exe.
rg7400i.obj - 1 error(s), 0 warning(s)
============================================

I don't get what is the error mean....can anyone help me with this?...Thanks a lot....

Eric

TheCPUWizard
December 17th, 2002, 09:08 PM
Ol;der versions do not work well with long filenames this is especially true of ones with spaces in them.

It looks like your program may reside in a sub directory of "My Documents"......

niceeric22
December 17th, 2002, 10:15 PM
Hi...

Thanks...
The problem solved already...It was the
path problem. We have to set path for
the lib in the "Enviroment Variable" coz
the Visual C++ version 2 will not help us
set the path during installation.
Thanks ...


Eric