943,273 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 16250
  • C++ RSS
Aug 26th, 2003
0

Creating an exe file

Expand Post »
Hi. I have a program that allows users to enter their information. After they have entered their information and clicked on submit, the program will create another exe file so that when the user opens the exe file, they will be able to see their information.

How can I create a exe file from another exe file???
Similar Threads
Reputation Points: 12
Solved Threads: 0
Newbie Poster
rickykoh1983 is offline Offline
7 posts
since Aug 2003
Aug 26th, 2003
0

Re: Creating an exe file

I found this link for ya

http://www.experts-exchange.com/Prog...1.html#7654606

I don't know if it would be of much help though.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Aug 26th, 2003
0

Thanks

Thanks for your help. But I wish to do this in C++. How can I make this possible?
Reputation Points: 12
Solved Threads: 0
Newbie Poster
rickykoh1983 is offline Offline
7 posts
since Aug 2003
Feb 25th, 2008
0

Re: Creating an exe file

Click to Expand / Collapse  Quote originally posted by cscgal ...
I found this link for ya

http://www.experts-exchange.com/Prog...1.html#7654606

I don't know if it would be of much help though.

Hi please help me, i have a .exe file for my c++ program, but I don't want that. I need to find how it calls my main function. Is it possible?
Last edited by RamPrasad710; Feb 25th, 2008 at 1:18 am. Reason: mis spelled..
Reputation Points: 10
Solved Threads: 0
Newbie Poster
RamPrasad710 is offline Offline
3 posts
since Feb 2008
Feb 25th, 2008
0

Re: Creating an exe file

You could generate valid c++ code that does a few couts to display the text and then output that to a text file and use system() with a command line compiler to compile it into an exe.
Reputation Points: 61
Solved Threads: 5
Junior Poster
prushik is offline Offline
101 posts
since Oct 2007
Feb 25th, 2008
0

Re: Creating an exe file

Click to Expand / Collapse  Quote originally posted by prushik ...
You could generate valid c++ code that does a few couts to display the text and then output that to a text file and use system() with a command line compiler to compile it into an exe.
Oh, by the way, I know it was my suggestion, but I should tell you that it would be very bad programming practice.
Reputation Points: 61
Solved Threads: 5
Junior Poster
prushik is offline Offline
101 posts
since Oct 2007
Feb 25th, 2008
0

Re: Creating an exe file

Click to Expand / Collapse  Quote originally posted by prushik ...
Oh, by the way, I know it was my suggestion, but I should tell you that it would be very bad programming practice.
Actually my exe file is there in /bin directory, so is it mandatory that if i have to create a .exe file in the same? Also I cannot find any where in the program, where it is mentioned to make .exe file to come into the picture.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
RamPrasad710 is offline Offline
3 posts
since Feb 2008

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: hopefully easy question
Next Thread in C++ Forum Timeline: back again sorry but need help starting problem





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


Follow us on Twitter


© 2011 DaniWeb® LLC