C++ Calling a C# method

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

    C++ Calling a C# method

    Hi,
    I am new to C# (and not an expert in C++). I am trying to use a C++
    program to call a C# windows application (to be specific the Main()
    method of the C# application). What should I do? Somebody else created
    the C# app...and I am just trying to use it.
    I am thinking about adding a C++ win32 project to the solution (where
    the C# app exists) and somehow link the C# application, which is not a
    DLL, to the C++ one. I just do not know how!

    If you have done this before, or done something similar, or think that
    this is doable please help! I spent A LOT of time searching online, but
    almost everybody wants to call C++ functions/dll in a C# app...not the
    other way around, which is what I am trying to do. Please help.
    Thanks.

    P.S. If this is not the right group to post such question, please
    direct me to one. Thanks.

Working...