Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 04-05-2011, 02:16 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: May 2011
Posts: 6
Default Output Exe File - Extract it from another Exe


Hello guys, I want to ask you for a little help.
I wand to find out how to make such a executable file (in C++), that if it is run, it will extract another executable Exe e.g to directory C:\\my_extracted_file.exe. And that my_extracted_file.exe should display some MessageBox, if it's run.


I hope, that someone will help me, I read alots of internet articles about this, but I failed...
Please don't post me some references, I can't understand it somehow. I would be very delighted if you show me some example code (C++).
bagsfr is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 04-05-2011, 03:41 PM   #2 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default Re: Output Exe File - Extract it from another Exe

what exactly do you mean by "extract" ?? compile ??

use my post from here
change it to C++ code
hard code your program

OR

you can write the program to a file say C:\example.cpp
and use this method to compile the program.

info on CL.exe compiler Compiler Command-Line Syntax (C++)
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
arpanmukherjee1 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Sarath
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 12:27 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2