如何配置Interop服务器位置 [英] How to configure Interop server location
问题描述
我有一个用C#/Windows Forms/.Net 2.0编写的COM服务器.如果我正确安装它并注册COM互操作,则所有C ++客户端都会发现它很好,无论它们位于何处.不幸的是,除非该DLL是,否则我的C#客户端将找不到此C#DLL. 与客户端位于同一文件夹中.注册COM互操作无济于事. (同一个C#客户端可以找到用C ++编写的常规COM服务器,无论它们位于何处,只要它们被注册即可.)
我需要配置什么才能使我的C#客户端找到C#COM DLL?
GregKhra,>
请检查它是否有用:
I have a COM server written in C#/Windows Forms/.Net 2.0. If I properly install it and register for COM interop, all C++ clients find it just fine regardless of their location. Unfortunately my C# client would not find this C# DLL unless the DLL is in the same folder with the client. Registering for COM interop doesn't help. (The same C# client finds regular COM servers written in C++ no matter where they are located as long as they are registered).
What do I need to configure in order to make my C# client find C# COM DLL?
Hi GregKhra,
Please check if it is usefule:
这篇关于如何配置Interop服务器位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!