L
longtungd1
I'm currently taking a Visual C++ course. I have C++ version 6.0 on my
machine.
I set up a basic program per course instructions to simply create a
window with
default toolbar, etc., using App Wizard and ran build from the menu to
create
the .exe.
Got following output:
--------------------Configuration: sam - Win32 Debug--------------------
Copying contents file...
The system cannot find the path specified.
Error executing c:\windows\system32\cmd.exe.
sam.exe - 1 error(s), 0 warning(s)
-----------------------------------------
The logfile sam.plg is as follows:
-----------------------------------
Build Log
--------------------Configuration: sam - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP11.bat" with
contents
[
@echo off
copy "hlp\sam.cnt" .\Debug
]
Creating command line "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP11.bat"
Creating temporary file "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP12.bat" with
contents
[
@echo off
echo. >"hlp\sam.hm"
echo // Commands (ID_* and IDM_*) >>"hlp\sam.hm"
makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlp\sam.hm"
echo. >>"hlp\sam.hm"
echo // Prompts (IDP_*) >>"hlp\sam.hm"
makehm IDP_,HIDP_,0x30000 resource.h >>"hlp\sam.hm"
echo. >>"hlp\sam.hm"
echo // Resources (IDR_*) >>"hlp\sam.hm"
makehm IDR_,HIDR_,0x20000 resource.h >>"hlp\sam.hm"
echo. >>"hlp\sam.hm"
echo // Dialogs (IDD_*) >>"hlp\sam.hm"
makehm IDD_,HIDD_,0x20000 resource.h >>"hlp\sam.hm"
echo. >>"hlp\sam.hm"
echo // Frame Controls (IDW_*) >>"hlp\sam.hm"
makehm IDW_,HIDW_,0x50000 resource.h >>"hlp\sam.hm"
]
Creating command line "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP12.bat"
Creating temporary file "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP13.bat" with
contents
[
@echo off
start /wait hcw /C /E /M "hlp\sam.hpj"
if errorlevel 1 goto :Error
if not exist "hlp\sam.hlp" goto :Error
copy "hlp\sam.hlp" .\Debug
goto :done
:Error
echo hlp\sam.hpj(1) : error:
type "hlp\sam.log"
:done
]
Creating command line "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP13.bat"
Creating command line "rc.exe /l 0x409 /fo"Debug/sam.res" /d "_DEBUG" /d
"_AFXDLL" "C:\Program Files\Microsoft Visual Studio\MyProjects\sam\sam.rc""
Copying contents file...
The system cannot find the path specified.
Error executing c:\windows\system32\cmd.exe.
Output Window
Results
sam.exe - 1 error(s), 0 warning(s)
-------------------------------------
The only possibilities I can guess from this are
1) the system can't determine where the "hlp\" path is
2) all the paths except "C:\Program Files\Microsoft Visual
Studio\MyProjects\sam\sam.rc" are in DOS 8.3 format, and the full path
name is throwing the command line, but my OS is XP, so that would not
seem to be it
Unfortunately the log doesn't identify which statement is crashing. Any
suggestions?
Thanks,
Ken
machine.
I set up a basic program per course instructions to simply create a
window with
default toolbar, etc., using App Wizard and ran build from the menu to
create
the .exe.
Got following output:
--------------------Configuration: sam - Win32 Debug--------------------
Copying contents file...
The system cannot find the path specified.
Error executing c:\windows\system32\cmd.exe.
sam.exe - 1 error(s), 0 warning(s)
-----------------------------------------
The logfile sam.plg is as follows:
-----------------------------------
Build Log
--------------------Configuration: sam - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP11.bat" with
contents
[
@echo off
copy "hlp\sam.cnt" .\Debug
]
Creating command line "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP11.bat"
Creating temporary file "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP12.bat" with
contents
[
@echo off
echo. >"hlp\sam.hm"
echo // Commands (ID_* and IDM_*) >>"hlp\sam.hm"
makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlp\sam.hm"
echo. >>"hlp\sam.hm"
echo // Prompts (IDP_*) >>"hlp\sam.hm"
makehm IDP_,HIDP_,0x30000 resource.h >>"hlp\sam.hm"
echo. >>"hlp\sam.hm"
echo // Resources (IDR_*) >>"hlp\sam.hm"
makehm IDR_,HIDR_,0x20000 resource.h >>"hlp\sam.hm"
echo. >>"hlp\sam.hm"
echo // Dialogs (IDD_*) >>"hlp\sam.hm"
makehm IDD_,HIDD_,0x20000 resource.h >>"hlp\sam.hm"
echo. >>"hlp\sam.hm"
echo // Frame Controls (IDW_*) >>"hlp\sam.hm"
makehm IDW_,HIDW_,0x50000 resource.h >>"hlp\sam.hm"
]
Creating command line "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP12.bat"
Creating temporary file "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP13.bat" with
contents
[
@echo off
start /wait hcw /C /E /M "hlp\sam.hpj"
if errorlevel 1 goto :Error
if not exist "hlp\sam.hlp" goto :Error
copy "hlp\sam.hlp" .\Debug
goto :done
:Error
echo hlp\sam.hpj(1) : error:
type "hlp\sam.log"
:done
]
Creating command line "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP13.bat"
Creating command line "rc.exe /l 0x409 /fo"Debug/sam.res" /d "_DEBUG" /d
"_AFXDLL" "C:\Program Files\Microsoft Visual Studio\MyProjects\sam\sam.rc""
Copying contents file...
The system cannot find the path specified.
Error executing c:\windows\system32\cmd.exe.
Output Window
Results
sam.exe - 1 error(s), 0 warning(s)
-------------------------------------
The only possibilities I can guess from this are
1) the system can't determine where the "hlp\" path is
2) all the paths except "C:\Program Files\Microsoft Visual
Studio\MyProjects\sam\sam.rc" are in DOS 8.3 format, and the full path
name is throwing the command line, but my OS is XP, so that would not
seem to be it
Unfortunately the log doesn't identify which statement is crashing. Any
suggestions?
Thanks,
Ken