Problem porting from VC++ 6.0 to VC++ 2008
Hi, I'm trying to convert a project and build it, but this is in the BuildLog, which I don't understand? Any idea what's wrong? Visual C++ 2008 is further not running from my computer but through a server.
Build started: Project: DySiFil, Configuration: Debug|Win32
Command Lines
Creating temporary file "C:\Simon\DySiFil\Conversie1\Debug\BAT0000031095615440.bat" with contents
[
@echo off
copy "hlp\DySiFil.cnt" .\Debug
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "Copying contents file..."
exit 1
:VCEnd
]
Creating command line "C:\Simon\DySiFil\Conversie1\Debug\BAT0000031095615440.bat"
Creating temporary file "C:\Simon\DySiFil\Conversie1\Debug\BAT0000041095615440.bat" with contents
[
@echo off
start /wait hcw /C /E /M "hlp\DySiFil.hpj"
if errorlevel 1 goto :Error
if not exist "hlp\DySiFil.hlp" goto :Error
copy "hlp\DySiFil.hlp" .\Debug
goto :done
:Error
echo hlp\DySiFil.hpj(1) : error:
type "hlp\DySiFil.log"
:done
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "Making help file..."
exit 1
:VCEnd
]
Creating command line "C:\Simon\DySiFil\Conversie1\Debug\BAT0000041095615440.bat"
Output Window
Copying contents file...
Project : error PRJ0002 : Error result 1 returned from 'X:\WINDOWS\system32\cmd.exe'.
Results
Build log was saved at "file://C:\Simon\DySiFil\Conversie1\Debug\BuildLog.htm"
DySiFil - 1 error(s), 0 warning(s)
Re: Problem porting from VC++ 6.0 to VC++ 2008
Just a guess, but I'm thinking that your custom build step for the help file occurs before the compiler, in which case it could be that your Debug directory did not exist, and therefore the copy failed.
Perhaps the second time you try it may work (this all assumes that the DySiFil.cnt file actually exists in your hlp directory.
Hope that helps.