用于Visual Studio C ++扩展包的单个DLL [英] SINGLE DLL for Visual Studio C++ extention package

查看:80
本文介绍了用于Visual Studio C ++扩展包的单个DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在实现一个Visual Studio插件,使用C#需要一个DLL来实现扩展包,使用C ++,但是需要2个DLL,一个用于代码实现,另一个用于UI(卫星DLL).

我的目标是使用C ++实现扩展包,并想知道是否有可能合并两个以上提到的DLL,从而为UI& amp;的单个C ++扩展包DLL.逻辑.

我正在尝试以下操作:

1.合并.rc文件

2.修改.pkgdef文件并更新SatelliteDLL条目

3.更改要求包含路径

所有程序都正确编译,VSIX更新了适当的注册表项,尽管如此,devenv.exe仍未将扩展包DLL加载到内存中

对C ++扩展包实现是否有任何限制?将C ++程序包分成两个DLL真的是强制性的吗?有什么我可以避免的事情吗?

任何帮助将不胜感激,


纳达夫·鲁宾斯坦(Nadav Rubinstein),http://www.sophin.com

解决方案

您好Nadavrub,

 

谢谢您的提问.

 

我正在尝试让熟悉此主题的人参与进来,以进一步研究该问题.那里 可能会有些时间延迟.感谢您的耐心.

 

感谢您的理解和支持.

最好的问候,

Ziwei Chen


Hi,

I am implementing a visual studio plugin, using C# a single DLL is req to implement an extention package, using C++ however 2 DLLs are needed, once for the code implementation and the other for UI ( the satelite DLL ).

I am aiming at implementing the extention package using C++ and wonder whether it is possible to merge the two above mentioned DLLs resulting a single C++ extention package DLL for both UI & Logic.

I was trying the following:

1. Merging the .rc files

2. Modifing the .pkgdef file updating the SatelliteDLL entry

3. changing req include path

All was compiling properly, the VSIX updated the propper registry entries, though still, devenv.exe didn't load the the extention package DLL in to memory

Are there any restrictions on C++ extention package implementations? is it really mandatory to have a C++ package seperated in to two DLLs? is there anything I can do to avoid that?

Any help will be appreciated,


Nadav Rubinstein, http://www.sophin.com

解决方案

Hello Nadavrub,

 

Thank you for your question.

 

I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.

 

Thank you for your understanding and support.

Best Regards,

Ziwei Chen

 


这篇关于用于Visual Studio C ++扩展包的单个DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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