Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 c++/cli - VAX Implement interface

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Mariano Posted - Jan 17 2012 : 04:24:04 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Feb 29 2012 : 1:25:07 PM
case=64052 is fixed in build 1901
feline Posted - Jan 17 2012 : 12:53:34 PM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000