By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,934 Members | 1,449 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,934 IT Pros & Developers. It's quick & easy.

inheriting from vc++ ? etc.

P: n/a
Hi,

I am just a (maybe) beginner in .NET
having some basic questions about the limits.
I suppose easy to answer for someone already using it ...

what are the limits of inheritance?

is is possible it possible to inherit from a vc++-class?
and if yes, under which conditions?
and what about inheritance from com-objects?

is multiple inheritance supported by .NET?

is there any difference between VB and C#?

I did not really understand how vc++ is integrated into .NET.
are there any limits when interacting between c# and vc++?

thx

Peter
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
> is is possible it possible to inherit from a vc++-class?
and if yes, under which conditions?
Yes if it is a managed code class.
and what about inheritance from com-objects? You can inherit a class never an object.

is multiple inheritance supported by .NET?
No
is there any difference between VB and C#?
VB is a kind of family name like C. It contains by instance VBS, VBA, VBNet,
VB6 etc. The C family contains: original C, C++, C#, Java, JavaScript etc.

C# is an individual program language.

Therefore this is not to compare, apples and pears are more like each other.
I did not really understand how vc++ is integrated into .NET.
are there any limits when interacting between c# and vc++?

Yes VC++ can be as only Visual Studio program language be with managed or
with unmanaged code.

I hope this helps,

Cor
Nov 21 '05 #2

P: n/a
thx Cor for the reply
and what about inheritance from com-objects?

You can inherit a class never an object.


OK, mea culpa
New question:

Is it possible to inherit from COM-Classes?

Is it possible to implement COM-Classes as Interface?

BTW.: Is it possible to use "Implements" for .NET-Classes
or only for those defined as Interface?

is there any difference between VB and C#?


New question:
Are there thing I can do C# that are not possible
or much more difficult in VB.NET? (and vice versa?)
Peter
Nov 21 '05 #3

P: n/a
Peter,
Is it possible to inherit from COM-Classes? Have a look at this thread I think that it gives a lot of answers on your
questions (this is not the subject I like)

http://groups-beta.google.com/group/...91349778b4ee26
Are there thing I can do C# that are not possible or much more difficult
in VB.NET? (and vice versa?)


The best description I have seen is this one.

http://groups-beta.google.com/group/...cce63bb7?hl=en

I hope this helps something

Cor


Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.