Help

M

Márcio Villaça

I have to wait to run the external program to continue to run my
program. how?

my line:
....
WinExec("java -jar projeto.jar", SW_SHOWNORMAL) finaly
....
 
M

Michael Doubez

I have to wait to run the external program to continue to run my
program. how?

my line:
...
WinExec("java -jar projeto.jar", SW_SHOWNORMAL) finaly
...

You can use the standard system() function but you don't get timeout
on execution.

A good solution is to read the documentation which is readily
available on msdn (maybe CreateProcess() would fit your need).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top