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:
- Use "Install binaries" option during installation to use precompiled DAC for MySQL units.
- Turn off code optimization in Project Options dialog.
- Increase stack size to $00200000 in project options.
Questions list