TXMLDocument cant be used with MyDAC

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply

TXMLDocument cant be used with MyDAC

Post by Guest » Thu 11 Aug 2005 11:50

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

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

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.


Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by 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

Post Reply