An improved Abstract Error Handler for Delphi

NOTE: The original blog post was wrong in one point: The change happened in Delphi XE2, not 10.2. I have now updated this and also adapted the conditional compilation in u_dzAbstractHandler. I should also mention, that the code only works on Win32. Win64 and other platforms are not supported. But since that unit won't compile … Continue reading An improved Abstract Error Handler for Delphi

Bugfix for the Build Connection String dialog appearing on the wrong monitor

According to MSDN the window handle passed to IDBPromptInitialize::PromptDataSource will be used this way: hWndParent [in] The parent window handle for dialog boxes to be displayed. The dialog box will always be centred within this window. Unfortunately it doesn't work like this: If the parent form is on a secondary monitor the dialog is shown … Continue reading Bugfix for the Build Connection String dialog appearing on the wrong monitor