CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    May 2009
    Posts
    88

    calling a VC++ project from other cpp

    I have a VC++ Application Wizard Project (exe) and now I wish to call this project in one of my Cpp that's apart from the project...earlier i had an idea of declaring a application class variable!!....but i dont think that's the right idea of implementing it??

  2. #2
    Join Date
    Feb 2005
    Posts
    2,160

    Re: calling a VC++ project from other cpp

    You have this very annoying habit of being overly vague about what it is you are trying to accomplish; so vague, in fact, that we have no idea what you might be trying to do.

    Please try and be as concise as possible when describing what it is that you need to do. For example, what does it mean to "call this project"? You don't "call" a project. And "in one of my Cpp" just doesn't make any sense at all. Somehow I think you are competent enough to know that If you're trying to call another executable from a different executable, you can use System() or CreateProcess() or ShellExecute() so I believe whatever it is you want to do is more complex than this.

    Your punctuation and grammar is bad, but at least mostly readable. You might want to work on that too.
    Last edited by hoxsiew; June 27th, 2009 at 12:16 PM. Reason: Typo. How ironic.

  3. #3
    Join Date
    May 2009
    Posts
    88

    Re: calling a VC++ project from other cpp

    well i have a MDI Project that i wish should be displayed by displaying the project i mean that the window that is created initially when we execute the exe of MFC project should be displayed whenever i wish in one of my other project that is simply Console Application...i hope you got my point this time!!
    Any ways thanx

  4. #4
    Join Date
    May 2009
    Posts
    88

    Re: calling a VC++ project from other cpp

    and yes i dont wish to use system call and other IPC

  5. #5
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: calling a VC++ project from other cpp

    Quote Originally Posted by pinnachio View Post
    well i have a MDI Project that i wish should be displayed by displaying the project i mean that the window that is created initially when we execute the exe of MFC project should be displayed whenever i wish in one of my other project that is simply Console Application...i hope you got my point this time!!
    Any ways thanx
    Nope.

    You don't display projects. I guess you know what you mean, but keep in mind, we have no idea. Using the correct terminology and more detailed explanations should help, but I wouldn't take any bets.

  6. #6
    Join Date
    May 2009
    Posts
    88

    Re: calling a VC++ project from other cpp

    i specified what i clearly mean by displaying a project if you read my problem

  7. #7
    Join Date
    Mar 2003
    Location
    India {Mumbai};
    Posts
    3,871

    Re: calling a VC++ project from other cpp

    You can display the project in Windows, using Visual studio.

    I hope you get the answer!
    My latest article: Explicating the new C++ standard (C++0x)

    Do rate the posts you find useful.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured