[SOLVED] Windows 11 - Rounded corners lazarus / 31-LCL ---------------------------------------------------------------------- DragoRosso · 2021-11-16 16:05 Hi, I tried to use this function to disable ROUNDED CORNERS features in Windows 11, but an error is thrown (External SIGSEV) when calling the Windows API. This code works perfectly with cousin Delphi 11. Attached Example program and support unit. Greetings ---------------------------------------------------------------------- wp · 2021-11-16 16:46 When I call InitDWMLibrary in the initialization section of your unit or in the test application it works. I don't know why this is not done in unit dwmapi itself... ---------------------------------------------------------------------- DragoRosso · 2021-11-16 17:43 Thanks a lot   , I didn't realize you needed to call library initialization. I added it to the "AngoliArrotondati.pas" helper module and it works as you said. Greetings