Is it possible to launch 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, /* ... */);
You can launch any EXE using CreatePocess or ShellExecute API. ( including C#.Net)
Yes - for example using system
function or CreateProcess
\ CreateProcessW
\ CreateProcessA
[or fork
+ exex
if you use *nix + mono]
来源:https://stackoverflow.com/questions/2843248/launch-c-sharp-net-application-from-c