TXMLDocument cant be used with MyDAC

TXMLDocument cant be used with MyDAC

Postby Guest » Thu 11 Aug 2005 11:50

Hi
Posted this earlier, i get a error when I am using TXMLDocument with MyDac.

[ERRO]
[C++ Error] satiety.h(75): E2015 Ambiguity between 'TNodeType' and 'Memdata::TNodeType'
[C++ Error] satiety.h(92): E2015 Ambiguity between 'TNodeType' and 'Memdata::TNodeType'
[/ERROR]


I found in your MemData.hpp file a enum called TNodeType.
The TXMLDocument is using a enum called TNodeType to define a a node in an XML document.

I changed the enum in MemData.hpp to TXMyNodeType and it worked.
I changed it to TXMyNodeType because i tought that it was not that likely
that u have another enum with that name but if i am wrong please let me know.

thanks
Guest
 

Postby Paul » Thu 11 Aug 2005 13:04

Yes, It is MyDAC internal type and you can rename it in your copy of header. We will fix this problem in the future
Paul
 
Posts: 725
Joined: Thu 28 Oct 2004 14:06


Return to MySQL Data Access Components