954,499 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Opening .exe

Hi ,i am creating some file and i need to open an exe file.
Like this ,I creating preface application because installation of the game .
So i need that when Computer finish the installation that he start another exe file who have nothing with my preface application.
I using C win32 .

Another question is, how to select installation folder.? I try to search in MSDN but like always i never find what i want. :(
I using C win32


Thank you for your effort of reading.

kv79
Posting Whiz in Training
292 posts since Nov 2007
Reputation Points: 30
Solved Threads: 7
 

You can look for ShellExecute windows API function.

yagiD
Light Poster
35 posts since Dec 2007
Reputation Points: 11
Solved Threads: 7
 

Thank yagiD very much .I just need to test that. When i need it and ti will be mark as solved.

And just another question is now seams like a problem but i am waiting someone who enjoy helping to solving threads.

Thanks for reading this.

kv79
Posting Whiz in Training
292 posts since Nov 2007
Reputation Points: 30
Solved Threads: 7
 

One more function(win platform only):

#include <windows.h>
...
WinExec(filename, SW_SHOW);
zhelih
Junior Poster
114 posts since Sep 2007
Reputation Points: 9
Solved Threads: 11
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You