use nmake build a project in my program 
Author Message
 use nmake build a project in my program

Hi
I do like this:
if(ShellExecute(NULL,"open","nmake.exe",".\\aaa\\aaa.mak
Quote:
>>a.txt",".\\aaa",SW_SHOWNORMAL)<=HINSTANCE(32))

  AfxMessageBox("build fail");

Nmake.exe can execute,but work incorrect.a.txt dosn't create.Why?

--
Thanks,

dhb



Sun, 11 Apr 2004 09:42:30 GMT  
 use nmake build a project in my program

Quote:

>Hi
>I do like this:
>if(ShellExecute(NULL,"open","nmake.exe",".\\aaa\\aaa.mak
>>>a.txt",".\\aaa",SW_SHOWNORMAL)<=HINSTANCE(32))
>  AfxMessageBox("build fail");

>Nmake.exe can execute,but work incorrect.a.txt dosn't create.Why?

Redirection of stdout is a feature of the command
processor. ShellExecute does not invoke the command
processor.

You can do this if you invoke the command processor
explicitly; call CMD.EXE or Command.com and
pass the command line to it.



Sun, 11 Apr 2004 10:32:51 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Debugging project built using NMAKE

2. How to use nmake build a project in my program

3. Building/linking DLL using nmake

4. Building/linking DLL using nmake

5. problems with project build order using Batch Build

6. help needed in building a project using com port

7. Problem: Building Projects using Command line

8. Building a Project using .net SDK v1.0.3705

9. NMAKE doesn't work for debug build

10. U1073 Build/NMake error

11. Build project builds every class

12. How to compile evc project with NMake?

 

 
Powered by phpBB® Forum Software