problem upgrading /migrating existing projects

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
albourgz
Posts: 160
Joined: Wed 06 May 2009 12:17
Location: belgium

problem upgrading /migrating existing projects

Post by albourgz » Fri 05 Aug 2016 09:57

Hi,
using unidac pro 6.3.13, odac pro 9.7.25, c++ builder XE10.
Building a new app works.
However, if I take an existing application, it fails at runtime.
I take an existing app, replace components/includes/pragma links, build, run
=> I get a clean messager telling I have to add a TUniOracleProvider (this is fine, and I can put a breakpoint on Application->Initialize();). If I add the TUniOracleProvider to the data module, build, I get a runtime exception before reaching the Application->Initialize() statement:
---------------------------
Debugger Fault Notification
---------------------------
Project N:\cec\PSendFile\.\PSendFile.exe faulted with message: 'access violation at 0x00f737f8: read of address 0x00000004'. Process Stopped. Use Step or Run to continue.
---------------------------
OK
---------------------------

Any hint? Should I change settings to project?

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: problem upgrading /migrating existing projects

Post by MaximG » Mon 08 Aug 2016 08:26

We have tested UniDAC Pro 6.3.13, ODAC Pro 9.7.25 functioning on C++ Builder 10 Seattle and detected no issues. For further investigation, please send us a small example that demonstrates the problem. You can send it to maximg*devart*com

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: problem upgrading /migrating existing projects

Post by MaximG » Wed 10 Aug 2016 11:52

We have received your projects PsendFile and psendfilex22. In order to prevent the PsendFile application debug leading to the described error, we have changed the project properties in the following way:
- replaced the Project Option\Packages\Runtime Packages\Runtime package import library parameter value with the similar value of the psendfilex22 project
- deleted the «263799 STANDARD» value of the Project Option\Debugger\Parameters parameter

albourgz
Posts: 160
Joined: Wed 06 May 2009 12:17
Location: belgium

Re: problem upgrading /migrating existing projects

Post by albourgz » Thu 11 Aug 2016 09:54

Thank you, it works now perfectly.
I added dac230, dacvcl230, crcontrols230, dcldac230, dclunidac230, oraprovider230, pgprovider230, unidac230, unidacvcl230.
Problem is that these are not added automagically when you take an existing odac project and add unidac components to it.

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: problem upgrading /migrating existing projects

Post by MaximG » Thu 11 Aug 2016 11:59

We are glad you have localized the problem. Please contact us concerning UniDAC and ODAC usage.

Post Reply