正如标题所说,我想打电话给从非托管code混合模式的组装。
As the title says i want to call a mixed mode assembly from unmanaged code.
要更precise,我想动态加载混合模式程序集,然后执行一些静态的非托管启动code,它注册了一些托管C ++包装的C#code。
To be more precise, i want to load the mixed mode assembly dynamically and then execute some static unmanaged startup code that registers some Managed C++ Wrappers for C# Code.
这是可能的(或者我需要嵌入.NET运行时或使用COM?)?
Is this possible (or do i need to embed the .Net Runtime or use COM?) ?
有没有人已经做到了这一点,并可以分享一些经验?
Has anybody already done this and can share some experience?
PS:如果混合模式组件包括一个WPF窗口将它启动
PS: If the mixed mode assembly contains a WPF Window will it be started?