Thread: Creating an Executable in runtime

  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 int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    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.

  3. #3
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    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-11-2007, 12:26 AM
  4. Replies: 9
    Last Post: 03-03-2006, 10: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