I'm getting this error in CRAccess.hpp in the new version of MyDac (v5.5) when I compile my app.
Error is on line 646:
" TBooleanArray __fastcall ParseTypes(const AnsiString ObjectTypes, const AnsiString * AllTypes, const int AllTypes_Size)/* overload */;"
I'm using C++ Builder v6, and just upgraded from v5.2 to v5.5
Any ideas?
Thanks,
Ian
Error: Ambiguity between TTypeKind and Activex::TTypeKind.
-
the_bachelor1982
- Posts: 8
- Joined: Mon 30 Jan 2012 21:48
-
AndreyZ
This problem occurs because of Rave components. There is the TTypeKind type declared in the Rave components with the same name as in the ActiveX unit. C++Builder compiler somehow gets the type for the AllTypes variable (that is used for our ParseTypes method) from the RvLEDefine.hpp unit. To aviod the problem, please try the following:
- close the IDE;
- remove the following code from the %MyDAC_Install_Directory\Include%\CRAccess.hpp file:- open the IDE and recompile your project.
- close the IDE;
- remove the following code from the %MyDAC_Install_Directory\Include%\CRAccess.hpp file:
Code: Select all
TBooleanArray __fastcall ParseTypes(const System::UnicodeString ObjectTypes, System::UnicodeString *AllTypes, const int AllTypes_Size)/* overload */;-
the_bachelor1982
- Posts: 8
- Joined: Mon 30 Jan 2012 21:48
-
AndreyZ