Print Thread
Problems in OracleData.hpp
#49259 07/24/14 10:10 AM
Joined: Nov 2007
Posts: 25
M
m.rup Offline OP
Member
OP Offline
Member
M
Joined: Nov 2007
Posts: 25
Hi,
we are evaluating Embarcadero C++ Builder XE6 and appropriate DOA tools. As soon as OracleData.hpp gets included, an error is occuring. Its telling aboute some ambiguity regarding function PSExecuteStatement. I would submit a screen shot if would know how. May the fact that there meet two trial versions have some impact?

Re: Problems in OracleData.hpp
m.rup #49263 07/25/14 09:29 AM
Joined: Aug 1999
Posts: 22,175
Member
Offline
Member
Joined: Aug 1999
Posts: 22,175
This is indeed an error in the trial version. You will need to modify the OracleData.hpp file as follows:

1. Search for the following line:

/* Hoisted overloads: */

2. Remove the subsequent PSExecuteStatement declaration:

inline int __fastcall PSExecuteStatement(const System::UnicodeString ASQL, Data::Db::TParams* AParams){ return Data::Db::TDataSet::PSExecuteStatement(ASQL, AParams); }

We'll fix this in the trial version today.


Marco Kalter
Allround Automations
Re: Problems in OracleData.hpp
Marco Kalter #49265 07/25/14 10:30 AM
Joined: Nov 2007
Posts: 25
M
m.rup Offline OP
Member
OP Offline
Member
M
Joined: Nov 2007
Posts: 25
Dear Marco,

thanks for your quick reply. Maybe one more point I didn't mention before (sorry): Some path seems to be set incorrectly during installation of DOA tools. First error I get when I drop an OracleSession on my test form is 'Unable to open include file Oracle.hpp'. After that, I add the path to include->vcl manually in project options, now it works. Then, when I drop an OracleDataSet on my form and OracleData.hpp is required, the afforesaid error (ambiguity) occurs.

Thanks and regards

Martin


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.048s Queries: 15 (0.005s) Memory: 2.5026 MB (Peak: 3.0397 MB) Data Comp: Off Server Time: 2024-03-29 13:01:37 UTC
Valid HTML 5 and Valid CSS