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

Launch .exe from c++

Status
Not open for further replies.

baggio7

Programmer
Jun 23, 2004
14
0
0
CA
hey, i need help to launch my vb executable file from a c++ dll.
does anyone know if it's possible and how to code it?

pls be specific cause i'm not to good with c++.
thanks,
Maldini
 
There is always the good ol' tried and true method:

Place this in the code:

system("yourprogrampath/yourprogram.exe");


That will work if you know your not going to move your executable.

-Ron



/**************
Me: When will the project be finished?
Them: What project?
Me: The one you have been working on for the last 3 years!
Them: Ohh, we can't finish it?
Me: Why?
Them: We don't know how to program...
 
you may also use CreateProcess. Read the MSDN about this function.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top