如何在新的应用程序中使用CAD的COM资源 [英] How use the COM resources of CAD in a new app

查看:59
本文介绍了如何在新的应用程序中使用CAD的COM资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下午Goof。



我正在尝试编写一个使用CAD软件资源的新应用程序,但我不知道如何迁移COM接口来自CAD软件。



其中一项要求是将CAD软件的功能迁移到Visual Studio中的新应用程序。



我尝试了什么:



我试图编写COM本地服务器和客户端,但我不知道找到最好的制作方法

解决方案

类型库包含您需要的信息:



COM,DCOM和类型库 - Windows应用程序| Microsoft Docs [ ^ ]



加载和注册类型库 - Windows应用程序| Microsoft Docs [ ^ ]



如何通过CLSID在C#中实例化COM对象? - 堆栈溢出 [ ^ ]


如果它是一个COM对象,你可以用大多数语言将其旋转并调用它。

Goof afternoon.

I'm trying to programming a new application that uses resources of CAD software, but i don´t know how to migrate the COM interfaces from CAD Software.

one of the requiements is migrate the funtions of the CAD software to the new app that is making in Visual Studio.

What I have tried:

I tried to programming COM local server and client, but i don´t find the best way to the make that

解决方案

The "type library" contains the info you need:

COM, DCOM, and Type Libraries - Windows applications | Microsoft Docs[^]

Loading and Registering a Type Library - Windows applications | Microsoft Docs[^]

How do I go about instantiating a COM Object in C# by CLSID? - Stack Overflow[^]


If it's a COM object, you can spin it up in most languages and call it.


这篇关于如何在新的应用程序中使用CAD的COM资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆