开发者

Embedded Mono in C++ Starting C# ServiceBase

开发者 https://www.devze.com 2023-01-23 06:43 出处:网络
Is it possibl开发者_开发技巧e to use a C++ application that has a mono runtime embedded inside of it to perform a mono_jit_exec on a C# app that is a service (uses ServiceBase to start)?

Is it possibl开发者_开发技巧e to use a C++ application that has a mono runtime embedded inside of it to perform a mono_jit_exec on a C# app that is a service (uses ServiceBase to start)?

I can start a simple C# application from a C++ app that has a normal C# application (not a service) but I'm having some trouble starting a service.

Is there a difference?

Thanks,

mj


A service would make sense as a separate process, so you would basically execute: system ("mono-service2 yourprogram.exe") or use fork/exec etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消