Page 1 of 1

problem upgrading /migrating existing projects

Posted: Fri 05 Aug 2016 09:57
by albourgz
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?

Re: problem upgrading /migrating existing projects

Posted: Mon 08 Aug 2016 08:26
by MaximG
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

Re: problem upgrading /migrating existing projects

Posted: Wed 10 Aug 2016 11:52
by MaximG
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

Re: problem upgrading /migrating existing projects

Posted: Thu 11 Aug 2016 09:54
by albourgz
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.

Re: problem upgrading /migrating existing projects

Posted: Thu 11 Aug 2016 11:59
by MaximG
We are glad you have localized the problem. Please contact us concerning UniDAC and ODAC usage.