Page 1 of 1

Access violation on Win32 target

Posted: 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

Re: Access violation on Win32 target

Posted: Fri 24 Jun 2016 13:55
by ViktorV
Thank you for the information. We will investigate the behavior of UniDAC and inform you about the results.

Re: Access violation on Win32 target

Posted: Tue 11 Jul 2017 12:14
by ViktorV
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.