Run C # .Net Application from C ++

Is it possible to run a C # .Net (2.0) application from an application written in C ++ ???

Thanks,

EDIT: Cool - so I just have to know where the app is:

LPTSTR szCmdline = _tcsdup(TEXT("C:\\Program Files\\MyApp -L -S"));
CreateProcess(NULL, szCmdline, /* ... */);

      

+2


a source to share


2 answers


You can run any EXE using CreatePocess or ShellExecute API. (including C # .Net)



+6


a source


Yes - for example using the function system

or CreateProcess

\ CreateProcessW

\CreateProcessA

[or fork

+ exex

if you are using * nix + mono]



+3


a source







All Articles