User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 456,556 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,456 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 12311 | Replies: 6
Reply
Join Date: Aug 2003
Posts: 7
Reputation: rickykoh1983 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
rickykoh1983 rickykoh1983 is offline Offline
Newbie Poster

Help Creating an exe file

  #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???
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 11,020
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 33
Solved Threads: 117
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Creating an exe file

  #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.
Reply With Quote  
Join Date: Aug 2003
Posts: 7
Reputation: rickykoh1983 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
rickykoh1983 rickykoh1983 is offline Offline
Newbie Poster

Thanks

  #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  
Join Date: Feb 2008
Posts: 3
Reputation: RamPrasad710 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
RamPrasad710 RamPrasad710 is offline Offline
Newbie Poster

Question Re: Creating an exe file

  #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  
Join Date: Oct 2007
Posts: 71
Reputation: prushik is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 4
prushik prushik is offline Offline
Junior Poster in Training

Re: Creating an exe file

  #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  
Join Date: Oct 2007
Posts: 71
Reputation: prushik is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 4
prushik prushik is offline Offline
Junior Poster in Training

Re: Creating an exe file

  #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  
Join Date: Feb 2008
Posts: 3
Reputation: RamPrasad710 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
RamPrasad710 RamPrasad710 is offline Offline
Newbie Poster

Re: Creating an exe file

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C++ Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C++ Forum

All times are GMT -4. The time now is 5:33 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC