943,962 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 4985
  • C++ RSS
Dec 19th, 2004
0

How do I start an exe file from C++

Expand Post »
Hi - new to all this. Trying to learn C++. How can I create an exe file in C++ that will open another file eg an excel file, when my created exe file is run??
Thanks for any help
TP
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Tom Pilk is offline Offline
14 posts
since Dec 2004
Dec 20th, 2004
0

Re: How do I start an exe file from C++

Use CreateProcess function for 32 bit applications
Reputation Points: 10
Solved Threads: 0
Newbie Poster
steveh is offline Offline
15 posts
since Nov 2004
Dec 20th, 2004
0

Re: How do I start an exe file from C++

hasnt this topic already been posted?
Reputation Points: 12
Solved Threads: 5
Posting Pro
Acidburn is offline Offline
510 posts
since Dec 2004
Dec 20th, 2004
0

Re: How do I start an exe file from C++

Quote originally posted by Acidburn ...
hasnt this topic already been posted?
Yes, numerous times. Good catch Shows how useful the search function is, right?
Team Colleague
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
alc6379 is offline Offline
2,519 posts
since Dec 2003
Dec 21st, 2004
0

Re: How do I start an exe file from C++

On windows you can use the CreateProcess function. On unix you can you can use the exec family of fucntions along with the fork system call to achieve the same thing.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
boldspin is offline Offline
1 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Keyboard Error Handling
Next Thread in C++ Forum Timeline: is there a program where there is only 32k in the main memory.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC