Q. My Delphi 5 application with DAC for MySQL components fails right after start with "Access violation" exception. What should I do?
A. There are some problems with Delphi 5 code optimizer that cause DAC for MySQL applications failure right after start. There are three possible solutions:
|1.||Use "Install binaries" option during installation to use precompiled DAC for MySQL units.|
|2.||Turn off code optimization in Project Options dialog.|
|3.||Increase stack size to $00200000 in project options.|