Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 c++/cli - VAX Implement interface
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mariano
New Member

Poland
6 Posts

Posted - Jan 17 2012 :  04:24:04 AM  Show Profile  Reply with Quote
Hello,

ref class AAA : System::Xml::Serialization::IXmlSerializable
{
public:
};


Firstly, when we use 'Implement interface' on example class AAA to implement interfaces from IXmlSerializable we get member like:
virtual System.Xml.Schema.XmlSchema GetSchema() override;
insted of
virtual System::Xml::Schema::XmlSchema^ GetSchema() override;


  • '.' insted of '::'

  • No handle '^' after XmlSchema


All other member of IXmlSerializable are also the same issue.

Secondly, the 'override' keyword. I enable it in registry and use it successfully in c++ but in c++/cli instead of 'override' keyword, member should look:

virtual System::Xml::Schema::XmlSchema ^ GetSchema() = System::Xml::Serialization::IXmlSerializable::GetSchema;

( only when implementing interface. When using 'implement virtual methods' it works ok.
It will be very helpful to fix this if possible.

Thank You,
Best regards,
Mariusz Brzeski

Edited by - Mariano on Jan 17 2012 04:28:18 AM

feline
Whole Tomato Software

United Kingdom
17027 Posts

Posted - Jan 17 2012 :  12:53:34 PM  Show Profile  Reply with Quote
I am seeing the same effect here with Implement Interface, thank you for the clear description:

case=64052

I am also seeing the problem with the override registry setting, thank you for the clear examples. I had to read up on this to see what was going wrong, but now I have done so, this is clearly wrong:

case=64053

Hopefully Implement Interface still saves you some time and effort, even when having to fix these problems manually.

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Feb 29 2012 :  1:25:07 PM  Show Profile  Reply with Quote
case=64052 is fixed in build 1901
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000