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

how to invoke an exe in a cpp 1

Status
Not open for further replies.

kai2005

Programmer
Oct 8, 2005
21
0
0
DE
I want know, whether it is possible to invoke an exe file in a cpp file.
For example,

int main()
{
// some code...
// here I want invoke WindowsMediaPlayer
// or some other MP3 player
// and some code continue...
return 0;
}
 
So are you looking to just play a sound and allow your program to continue?

Or are you asking about executable files in general?


--
 
Salem,
I want run the executable file in general.
I notice that, some software can invoke an another software during its execution. For example Irfanview, you can open a sound file with WindowsMediaPlayer within Irfanview, so I want know how is it realized.



 
Haha? I am smiling.
It is really what I need. It's perfect.

Hello Salem,
you are great, thanks a lot......
How do you find that webpage? That webpage is also very useful.
I have also very lang seached the answer of this question using Google, but without success.
Thank you again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top