Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run in WinNT w/o a DOS window.

Status
Not open for further replies.

emart

Programmer
Apr 26, 2000
11
0
0
US
I wrote a program to call SAS.EXE via the system function.&nbsp;&nbsp;However, we do not want it to open a DOS window.&nbsp;&nbsp;Is there a simple way to avoid the DOS window.&nbsp;&nbsp;SAS does it's own<br>windows.<br><br>Thanks,<br>Ed Martin
 
If SAS.EXE is a Windows program then use:<br>CreateProcess<br><br>OR<br><br>WinExec&nbsp;&nbsp;<br><br>Though WinExec is mainly there for backwards compatability. <p> <br><a href=mailto:Kim_Christensen@telus.net>Kim_Christensen@telus.net</a><br><a href= Page</a><br>
 
What is required to use CreateProcess?&nbsp;&nbsp;I use Dev-C++<br>compiler and the function is not documented.&nbsp;&nbsp;Does<br>it require a header?<br><br>Thanks.<br>Ed Martin
 
Use execl() function. <br> <p>Siddhartha Singh<br><a href=mailto:siddhu_singh@hotmail.com>siddhu_singh@hotmail.com</a><br><a href=siddhu.freehosting.net> </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top