Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > [.NET managed c++] Calling parent constructor.

Reply
Thread Tools

[.NET managed c++] Calling parent constructor.

 
 
Duncan Aitken
Guest
Posts: n/a
 
      09-20-2004
All,

In an inherited managed c++ class, how do you call the contstructor of
the parent class? I tried with the usual Parent:arent(...), but get
compiler error C3257. Any ideas?

Thanks,

Duncan.
 
Reply With Quote
 
 
 
 
Jack Klein
Guest
Posts: n/a
 
      09-20-2004
On 20 Sep 2004 09:35:39 -0700, http://www.velocityreviews.com/forums/(E-Mail Removed) (Duncan
Aitken) wrote in comp.lang.c++:

> All,
>
> In an inherited managed c++ class, how do you call the contstructor of
> the parent class? I tried with the usual Parent:arent(...), but get
> compiler error C3257. Any ideas?
>
> Thanks,
>
> Duncan.


See Victor's answer to your other question.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
If a class Child inherits from Parent, how to implementChild.some_method if Parent.some_method() returns Parent instance ? metal Python 8 10-30-2009 10:31 AM
Calling from default AppDomain (native code) into another AppDomain (managed code), hosted by ASP.NET Dave Burns ASP .Net 0 01-12-2007 03:43 PM
Calling from default AppDomain (native code) into another AppDomain (managed code), hosted by ASP.NET Dave Burns ASP .Net 2 01-12-2007 03:41 PM
E_ACCESSDENIED (HRESULT = 0x80070005) calling an Interoperability Managed code to a COM (vb6) kenshiro2000 ASP .Net 1 07-05-2006 08:24 AM
Cannot use desinger in ASP.NET when calling managed c++ code Alexandru Savescu ASP .Net 0 01-07-2004 05:21 PM



Advertisments