Access violation on Win32 target

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
[email protected]
Posts: 1
Joined: Fri 24 Jun 2016 10:58

Access violation on Win32 target

Post by [email protected] » Fri 24 Jun 2016 12:28

I am using C++ Builder Berlin with UniDAC 6.3.12.
My program runs normal on Win64 platform.
When I switch to Win32, it access violation.

Followings steps replay the problem.
1.Create a multi-device application
2.Choose Master-Detail
3.Put a TMySQLUniProvider to the Form
4.Set target platform to Win32 and run the program

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Access violation on Win32 target

Post by ViktorV » Fri 24 Jun 2016 13:55

Thank you for the information. We will investigate the behavior of UniDAC and inform you about the results.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Access violation on Win32 target

Post by ViktorV » Tue 11 Jul 2017 12:14

When investigating, we found that this error is not related to UniDAC functionality, but to C++ Builder work specificity. To solve it, you can either compile the project with the disabled Build with runtime packages option or perform the following steps:
- open in any text editor the cbproj file of your project;
- after the line

Code: Select all

<PropertyGroup Condition="'$(Cfg_1_Win32)'!=''"> 
add the following one

Code: Select all

<PackageImports>dac240;unidac240;$(PackageImports)</PackageImports>
- save the changes and close the cbproj file.
- open your project in C++ Builder RAD Studio Berlin and try to compile it.

Post Reply