用于Visual Studio C ++扩展包的单个DLL

编程入门 行业动态 更新时间:2024-10-21 20:40:57
本文介绍了用于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),www.sophin

解决方案

谢谢您的提问.

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

感谢您的理解和支持.

最好的问候,

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 fileupdating 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, www.sophin

解决方案

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

本文发布于:2023-11-13 14:35:45,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584591.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Visual   Studio   DLL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!