473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

C++ dll inheritance in VBA projects

MrT
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

Nov 21 '05 #1
10 1420
MrT,

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

Maybe we can help you than?

Cor
Nov 21 '05 #2
MrT,

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

Maybe we can help you than?

Cor
Nov 21 '05 #3
"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/>
Nov 21 '05 #4
"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/>
Nov 21 '05 #5
MrT
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

"Cor Ligthert" wrote:
MrT,

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

Maybe we can help you than?

Cor

Nov 21 '05 #6
MrT
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

"Cor Ligthert" wrote:
MrT,

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

Maybe we can help you than?

Cor

Nov 21 '05 #7
"MrT" <Mr*@discussions.microsoft.com> schrieb:
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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #8
"MrT" <Mr*@discussions.microsoft.com> schrieb:
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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #9
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
Nov 21 '05 #10
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
Nov 21 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Graham Banks | last post by:
Does using multiple inheritance introduce any more performance overhead than single inheritance?
6
by: Brendan Jurd | last post by:
Hi all, I read on the manual page for Inheritance that: "A limitation of the inheritance feature is that indexes (including unique constraints) and foreign key constraints only apply to single...
22
by: Matthew Louden | last post by:
I want to know why C# doesnt support multiple inheritance? But why we can inherit multiple interfaces instead? I know this is the rule, but I dont understand why. Can anyone give me some concrete...
7
by: Hazz | last post by:
Are there any good references/articles/books which provide clarity toward my insecurity still on deciding how to model a complex system? I still feel uncomfortable with my understanding, even...
15
by: scorpion53061 | last post by:
I am just now really starting to get into inheritance - controls, datasets, views all that stuff and I am seeing the enormous savings in performance and even watching the exe file size go down...
60
by: Shawnk | last post by:
Some Sr. colleges and I have had an on going discussion relative to when and if C# will ever support 'true' multiple inheritance. Relevant to this, I wanted to query the C# community (the...
14
by: axel22 | last post by:
Hello again and thnx to everybody for previous feedbacks. This code works quite nicely when I omit the inheritance in MyContainer.h --------------- MyClass.h --------------- #pragma once
0
by: nejucomo | last post by:
Hi folks, Quick Synopsis: A test script demonstrates a memory leak when I use pythonic extensions of my builtin types, but if I use the builtin types themselves there is no memory leak. ...
23
by: Dave Rahardja | last post by:
Since C++ is missing the "interface" concept present in Java, I've been using the following pattern to simulate its behavior: class Interface0 { public: virtual void fn0() = 0; };
6
by: Hook | last post by:
Hi, I'm having a problem with multiple inheritance - it's clearly something I've missed, but the web pages and books that I've consulted aren't helping, so I'll throw myself on the mercy and...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.