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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am having problems with _execv, or _spawnv functions.

Status
Not open for further replies.

sjn

Programmer
Dec 18, 2000
31
US
First let me say that this is a great forum. You folks have helped so much periodically throughout the last month and a half. This problem is actually one of two of the last problems I have encountered.

I have developed a front-end utility to determine an appropriate setup directory to install an MS Access application. The front end determines the appropriate directory on the installation media, and then executes the setup.exe program.

I have tried the following and am experiencing an access violation as it tries to execute.

x_flg = _execv(<programPathStr>,(const char *const *)&quot; -option&quot;);

or

x_flg = _spawnv(_P_NOWAIT, <programPathStr>, (const char *const *)&quot; -option&quot;);

Any suggestions?

Again, my deepest thanks for all of your help.

Scott.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top