C++ dll inheritance in VBA projects

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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 said:
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.
 
I thought the concept of inheritance would be the same in VB and VBA. May be
I'm wrong. Usually there aren't any reply on the VBA newgroup for such
questions.

Regards,

Mr. T
 
MrT said:
I thought the concept of inheritance would be the same in VB and VBA. May
be
I'm wrong. Usually there aren't any reply on the VBA newgroup for such
questions.

VB6 and VBA do not support implementation inheritance (except simulated
inheritance using delegation). VB.NET fully supports inheritance, but it is
very different from VBA.
 
MrT,

I don't know if it possible what you want, however there are a lot of office
(VBA) developer newsgroups.

One of them is

microsoft.public.office.developer

I saw that Peter Huang, Howard Kaikow, Cindy M are with the people who are
active there.

Persons for which I have a lot of respect

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top