Creating an Executable in runtime

This is a discussion on Creating an Executable in runtime within the Windows Programming forums, part of the Platform Specific Boards category; Greetings all How can i create an executable in run-time? (win32). i need a simple wrapper for different console commands. ...

  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    3

    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.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,674
    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.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    You mean you want to write a shell? (I.e., something like the dos box?)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 09:38 AM
  2. Creating controls in runtime
    By starcatcher in forum C++ Programming
    Replies: 4
    Last Post: 03-27-2008, 05:29 PM
  3. Creating a executable file
    By stewie1986 in forum C Programming
    Replies: 8
    Last Post: 12-10-2007, 11:26 PM
  4. Replies: 9
    Last Post: 03-03-2006, 09:11 PM
  5. Creating an icon for an executable
    By funkydude9 in forum C++ Programming
    Replies: 1
    Last Post: 09-28-2002, 12:35 AM

Tags for this Thread


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