Hi all, I upgarded to VC++ 2005 and I'm having a problem that didn't occur on VC++ 2003. I would like to know if there is a way to fix this. The scenario is like this: - Create a project e.g. resdll.sln/vcproj, that is a normal application that might also include resources - Create a batch file in the same directory like where the above .sln file is e.g. mybat.bat containing the following line: devenv <preferable-full-path-or-a-correct-relative-path>\resdll.sln /rebuild release /out release/BuildLog.htm - Create another new project e.g. MyTest.sln/vcproj that contains whatever dummy file, e.g. empty dummy.h file. Right click on the dummy.h file and at the Custom Build Step add the following line: call <preferable-full-path-or-a-correct-relative-path>\mybat.bat. You'll also need to add something in the Outputs filed, so just add whatever.dummy. Problem: if I try to build the MyTest project I always get the error: error PRJ0003 : Error spawning 'C:\Programming\Microsoft Visual Studio 8\VC\bin\cl.exe'. or in case it's a resource dll I get: error PRJ0003 : Error spawning 'C:\Programming\Microsoft Visual Studio 8\VC\bin\rc.exe'. (of course cl.exe and rc.exe are in the right place: C:\Programming\Microsoft Visual Studio 8\VC\bin\) Notes: - If I run just the mybat.bat file in a cmd prompt everything works just fine. - The sample above works just fine with VC++ 2003. Any help to fix this would be appreciated. Thanks, Viv
Don't see what you're looking for? Try a search.
|