help me in vc++

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mathudiv@gmail.com

    help me in vc++

    hi,
    i want to call main( ) in one program as a fuction from some other
    main().
    now i am working in vc++ 2008..
    i need all ur suggestion to complete my project
  • Victor Bazarov

    #2
    Re: help me in vc++

    EventHelix.com wrote:
    On Feb 18, 12:34 am, mathu...@gmail. com wrote:
    >hi,
    >i want to call main( ) in one program as a fuction from some other
    >main().
    >now i am working in vc++ 2008..
    >i need all ur suggestion to complete my project
    >
    You might have to use COM or CORBA to invoke methods between two
    executables. Not sure if that would be too complicated for the task at
    hand.
    Sounds too complicated. Perhaps the OP just wants to invoke the
    other application and give them some arguments; in that case the
    'system' function can be used, or any other OS-specific equivalent
    (like ShellExecute or CreateProcess on Windows).

    V
    --
    Please remove capital 'A's when replying by e-mail
    I do not respond to top-posted replies, please don't ask


    Comment

    • Gerry Ford

      #3
      Re: help me in vc++



      "Er hat sich georgiert." Der Spiegel, 2008, sich auf Chimpy Eins komma null
      beziehend.
      "Victor Bazarov" <v.Abazarov@com Acast.netwrote in message
      news:fphej9$lvq $1@news.datemas .de...
      EventHelix.com wrote:
      >On Feb 18, 12:34 am, mathu...@gmail. com wrote:
      >>hi,
      >>i want to call main( ) in one program as a fuction from some other
      >>main().
      >>now i am working in vc++ 2008..
      >>i need all ur suggestion to complete my project
      >>
      >You might have to use COM or CORBA to invoke methods between two
      >executables. Not sure if that would be too complicated for the task at
      >hand.
      >
      Sounds too complicated. Perhaps the OP just wants to invoke the
      other application and give them some arguments; in that case the
      'system' function can be used, or any other OS-specific equivalent
      (like ShellExecute or CreateProcess on Windows).
      >
      V
      --
      Please remove capital 'A's when replying by e-mail
      I do not respond to top-posted replies, please don't ask
      OR op wouldn't be able to find an egg on George Bush's in his easter egg
      hunt against the ovulars.

      Hochy zbamee govareetch, buktop.

      --
      Gerry Ford


      Comment

      Working...