开发者

Embedding C# type library for C++ use

开发者 https://www.devze.com 2023-03-24 23:22 出处:网络
I\'m writing a program in C++ (unmanaged code) in which I use a C# DLL. Everything works fine when I\'m in a debug mode (the dll is called, the job is done) on my machine

I'm writing a program in C++ (unmanaged code) in which I use a C# DLL.

Everything works fine when I'm in a debug mode (the dll is called, the job is done) on my machine When I run the debug version of the program on a different server, it won't work too.

Do I have to embbed my TLB library in the .exe? If so how to do that?

However, when I "release开发者_StackOverflow" it the program act wierdly.


C++ is compiled instead of interperted like C#. So you probably have to recompile your program on the other server.

0

精彩评论

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

关注公众号