VBA项目中的C ++ DLL继承 [英] C++ dll inheritance in VBA projects

查看:63
本文介绍了VBA项目中的C ++ DLL继承的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我有一个VBA项目(P1)。

我有第二个VBA项目(P2),它引用了P1。


我有一些在P1和P2中使用的c ++ dll。


有没有办法让我继承P2的引用P1?我知道如果DLL在VB中(公共MyObj作为New ProjectName.Class),我可以很容易地做到这一点,

但是我找不到怎么做使用C ++ DLL。


感谢您的帮助,


先生T

解决方案

MrT,


你能否解释一下你的问题与VBNet有什么关系。


也许我们可以帮助你吗?


Cor


MrT,


你能解释一下我们你的问题是如何与VBNet相关的。


也许我们可以帮助你吗?


Cor

" MRT" < Mr*@discussions.microsoft.com> schrieb:

我有一个VBA项目(P1)。
我有第二个VBA项目(P2),它引用了P1。

我有一些在P1和P2中使用的c ++ dll。

有没有办法让P2继承P1的引用?我知道如果DLL在VB中(公共MyObj为New
ProjectName.Class),我可以轻松地做到这一点,
但是我找不到怎么做使用C ++ DLL。




我没有看到与VB.NET编程的关系。考虑将

问题发布到其中一个VBA组。 VBA组可以在Word中找到,

Outlook,...层次结构。


-

MS Herfried K .Wagner

MVP< URL:http://dotnet.mvps.org/>

VB< URL:http://dotnet.mvps.org/ dotnet / faqs />


Hello,

I have a VBA project (P1).
I have a second VBA project (P2) that has a reference to P1.

I have some c++ dlls that are used in P1 and P2.

Is there a way I can make P2 inherit from the references of P1? I know I can
do that easily if the DLL is in VB (Public MyObj as New ProjectName.Class),
but I can''t find how to do that with a C++ DLL.

Thanks for your help,

Mr. T

解决方案

MrT,

Can you explain too us how is your question related to VBNet.

Maybe we can help you than?

Cor


MrT,

Can you explain too us how is your question related to VBNet.

Maybe we can help you than?

Cor


"MrT" <Mr*@discussions.microsoft.com> schrieb:

I have a VBA project (P1).
I have a second VBA project (P2) that has a reference to P1.

I have some c++ dlls that are used in P1 and P2.

Is there a way I can make P2 inherit from the references of P1? I know I
can
do that easily if the DLL is in VB (Public MyObj as New
ProjectName.Class),
but I can''t find how to do that with a C++ DLL.



I don''t see the relation to VB.NET programming. Consider posting the
question to one of the VBA groups. The VBA groups can be found in the Word,
Outlook, ... hierarchies.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>


这篇关于VBA项目中的C ++ DLL继承的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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