Page 1 of 1

Help with bug E2015 Ambiguity??

Posted: Mon 15 Aug 2005 15:47
by pcJeremy
Hi, I just installed version 4 of the myDac for c++ builder 6 and now I have a new error in my project:

[C++ Error] SyncObjs.hpp(75): E2015 Ambiguity between 'Windows' and 'Excel_2k::Windows'

any help on how to resolve this?

Posted: Tue 16 Aug 2005 09:48
by Paul
It is a compatibility problem of Windows.h, syncobjs.hpp, excel_2k.h in C++ Builder.
Please add "#include " before "#include " in your code.
Or put "#include " after declarations of MyDAC components (#include "MyAccess.hpp")

Posted: Wed 17 Aug 2005 13:21
by pcJeremy
Re-ordering the include statements seems to work fine... thanks for the help