CMCHTPC/DelphiDX12 Error: Generics without specialization cannot be used as a ty lazarus / 72-DirectX ---------------------------------------------------------------------- daniel_sap · 2023-09-09 10:18 Hi, I've just downloaded the CMCHTPC/DelphiDX12 api translations from https://github.com/CMCHTPC/DelphiDX12 and opened the demo project for Lazarus/FPC - Samples_FPC\Direct2D\TextAnimationSample and tried to compile it and received the following error DX12.D2D1.pas(4876,15) Error: Generics without specialization cannot be used as a type for a variable May be someone knows more about this issue and can advice Regards, Daniel I'm using Lazarus 3.0RC1 (rev lazarus_3_0_RC1-10-gfe49fef4fc) FPC 3.2.2 x86_64-win64-win32/win64 ---------------------------------------------------------------------- marcov · 2023-09-09 11:49 Did you enable delphi mode ? ---------------------------------------------------------------------- daniel_sap · 2023-09-11 16:48 QuoteDid you enable delphi mode ?No changes from my side However, I saw they did a commit before 2 years which introduces the Delphi mode. If I remove it, other stuff doesn't compile