VST Plugin - compiling a DLL with LCL - compiler switches for scaling ? lazarus / 31-LCL ---------------------------------------------------------------------- PeterX · 2018-01-01 13:06 Hi, I managed to translate an old example from the 1.0 VST-ASIO package. Doing wild things around NewYear is so nice, without time pressure ...  The plugin, complied with Delphi 5, does not scale. So my OS (Win10) scales it up (as expected ..) The plugin, complied with Lazarus 1.8, does NOW also not scale, even though I added Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   {$IFDEF FPC}Application.Scaled:= True;{$ENDIF}  I must have changed anything, I believe to remember, on first time it compiled with working scaling .. Are there any Lazarus / FPC compiler switches for scaling ? ---------------------------------------------------------------------- jamie · 2018-01-02 00:27 go to the project settings "Application" and there you'll see  use LCL scaling (HI-DPI)  also you may need to use themes.  This is assumes you are using the IDE..  Experiment with that. ---------------------------------------------------------------------- PeterX · 2018-01-02 10:41 Quote from: jamie on January 02, 2018, 01:27:29 amgo to the project settings "Application" and there you'll see  use LCL scaling (HI-DPI) ... I already did this, in all my projects, since 1.8RC5 So also this project is LCL-scaling enabled, Hi-DPI-aware etc ... But it's a DLL ...  Please see attached project. ---------------------------------------------------------------------- jamie · 2018-01-03 22:56 DLL's don't work like the main process, they don't receive all those fancy messages..  you can use the "ScaleBy" manually ---------------------------------------------------------------------- PeterX · 2018-01-04 22:39 Quote from: jamie on January 03, 2018, 11:56:15 pmDLL's don't work like the main process, they don't receive all those fancy messages..  you can use the "ScaleBy" manually Thanks, I will try this on the weekend ! ---------------------------------------------------------------------- PeterX · 2018-01-05 11:25 This is TestPluginVST.zip,  cleaned up .. ---------------------------------------------------------------------- PeterX · 2018-01-17 10:54 Quote from: jamie on January 03, 2018, 11:56:15 pmDLL's don't work like the main process, they don't receive all those fancy messages..  you can use the "ScaleBy" manually Do they REALLY not receive those messages ? Or can I catch them manually from the MessageLoop anyhow ?