Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I run an external aplication from my C aplication? Must be pure C (Not C++) and usgin APIs. I want to use the code for this article Portable Executable (P.E.) Code Injection: Injecting an Entire C Compiled Application [^] Thanks so much.
Posted

You run an application with ShellExecute or ShellExecuteEx.
 
Share this answer
 
You can use system() function.
 
Share this answer
 
In addition to others' replies, you may also use CreateProcess function [^], it is a bit complex, but gives you more control.
:)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900