Creating an exe file

Reply

Join Date: Aug 2003
Posts: 7
Reputation: rickykoh1983 is an unknown quantity at this point 
Solved Threads: 0
rickykoh1983 rickykoh1983 is offline Offline
Newbie Poster

Creating an exe file

 
0
  #1
Aug 26th, 2003
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???
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,024
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 127
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: Creating an exe file

 
0
  #2
Aug 26th, 2003
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.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Aug 2003
Posts: 7
Reputation: rickykoh1983 is an unknown quantity at this point 
Solved Threads: 0
rickykoh1983 rickykoh1983 is offline Offline
Newbie Poster

Thanks

 
0
  #3
Aug 26th, 2003
Thanks for your help. But I wish to do this in C++. How can I make this possible?
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 3
Reputation: RamPrasad710 is an unknown quantity at this point 
Solved Threads: 0
RamPrasad710 RamPrasad710 is offline Offline
Newbie Poster

Re: Creating an exe file

 
0
  #4
Feb 25th, 2008
Originally Posted by cscgal View Post
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..
Ram Prasad

Telecom Billing Consultant

SBIF Project.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 87
Reputation: prushik is on a distinguished road 
Solved Threads: 4
prushik prushik is offline Offline
Junior Poster in Training

Re: Creating an exe file

 
0
  #5
Feb 25th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 87
Reputation: prushik is on a distinguished road 
Solved Threads: 4
prushik prushik is offline Offline
Junior Poster in Training

Re: Creating an exe file

 
0
  #6
Feb 25th, 2008
Originally Posted by prushik View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 3
Reputation: RamPrasad710 is an unknown quantity at this point 
Solved Threads: 0
RamPrasad710 RamPrasad710 is offline Offline
Newbie Poster

Re: Creating an exe file

 
0
  #7
Feb 25th, 2008
Originally Posted by prushik View Post
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.
Ram Prasad

Telecom Billing Consultant

SBIF Project.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC