C Board  

Go Back   C Board > Platform Specific Boards > Windows Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 07-08-2009, 10:08 AM   #1
Registered User
 
Join Date: Jul 2009
Posts: 1
Creating an Executable in runtime

Greetings all
How can i create an executable in run-time? (win32). i need a simple wrapper for different console commands. this is because i must have executable there is no way around it. so what i have come up with is passing the command that i want executed as a command line parameter and it will create an executable that will execute those commands upon execution. I know this is possible because i have seen it being used. How can i do this?
If any one could explain this to me or refer me to any kind of helpful documentation, it would be greatly appreciated.
astropirit is offline   Reply With Quote
Old 07-08-2009, 10:21 AM   #2
and the hat of vanishing
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,214
Perhaps some examples to illustrate the problem would help.
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Up to 8Mb PlusNet broadband from only £5.99 a month!
Salem is offline   Reply With Quote
Old 07-08-2009, 10:46 AM   #3
and the Hat of Guessing
 
tabstop's Avatar
 
Join Date: Nov 2007
Posts: 8,740
You mean you want to write a shell? (I.e., something like the dos box?)
tabstop is offline   Reply With Quote
Reply

Tags
win32 runtime executable

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Profiler Valgrind afflictedd2 C++ Programming 4 07-18-2008 09:38 AM
Creating controls in runtime starcatcher C++ Programming 4 03-27-2008 05:29 PM
Creating a executable file stewie1986 C Programming 8 12-11-2007 12:26 AM
creating a file in the same directory as the executable program 1978Corvette C Programming 9 03-03-2006 10:11 PM
Creating an icon for an executable funkydude9 C++ Programming 1 09-28-2002 12:35 AM


All times are GMT -6. The time now is 05:53 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22