can anybody tell me how to execute an exe from my application in vc++
-
can anybody tell me how to execute an exe from my application in vc++.i tried with winexec but was not able to execute my exe but it worked for executing Notepad.exe..... can anybody help
-
can anybody tell me how to execute an exe from my application in vc++.i tried with winexec but was not able to execute my exe but it worked for executing Notepad.exe..... can anybody help
philiptabraham wrote:
tried with winexec but was not able to execute my exe but it worked for executing Notepad.exe
So why can't you just show us what you tried? Are we supposed to guess how you're writing code? Also, consider using ShellExecute[^].
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
-
can anybody tell me how to execute an exe from my application in vc++.i tried with winexec but was not able to execute my exe but it worked for executing Notepad.exe..... can anybody help
use CreateProcess or ShellExecute, Does your exe normally runs when you execute it not programmatically.
-
can anybody tell me how to execute an exe from my application in vc++.i tried with winexec but was not able to execute my exe but it worked for executing Notepad.exe..... can anybody help
Have you read this?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne