Hi, I offer my software for Windows and for Linux and OSX, too. After update to AC 10.21, my application no longer starts.
One new line makes trouble in the new version:
Code:
i := ReadRegInt(HKEY_CURRENT_USER, 'Control PanelDesktopWindowMetrics', 'AppliedDPI');
An exception will be raised during the loading of the main form because Wine doesn't have this setting.
This simple change fixed the problem:
Code:
try
i := ReadRegInt(HKEY_CURRENT_USER, 'Control PanelDesktopWindowMetrics', 'AppliedDPI');
except
i := 0;
end;
Would be nice if you could include this into the next release or a more elegant way to prevent an exception in case of a missing registry entry.