Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 1
TOPIC: Winexec
#231
Winexec 13 Years, 7 Months ago  
After we use Winexec Windows API (running external program) our first application is closed remaining only the last application called by API.

Any issues about it?

Is It possible to use WinExec API/Command in our applications?

Best Regards,


Antonio Carlos Barbosa
acbarbosa

The administrator has disabled public write access.
 
#234
Re: Winexec 13 Years, 7 Months ago Karma: 6
Antonio,

The questions is a little vague but if you are asking whether you can launch other applications from within your application, then the answer is yes. If the application you want to launch is a 16-bit application or a console application then the answer is no. The Windows API states that CreateProcess should be used for 32-bit apps, and that support for WinExec is provided for compatibility with 16-bit Windows.

Hope that helps!

-Erik
Erikt
Administrator
Posts: 591
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: troy, Andyl