You are right! 
The least I could do is convert it to Lazarus back myself!
I've installed Lazarus to an other PC (Win7 32bit PRO) >> and the component installation worked nice !
(So maybe it was a problem interfering with older 1.6 Laz or the CodeTypoon.)Of course the error is the same, so it's not an "IDE" problem, but the freepascal compiler itself.
Attached the zip, including the 2 projects:
- the qrIDE is the EXE
- and 'qpsqrgen.lpr' is the DLL
To test the DLL > you need to re-set the "Running parameter" at the DLL > choose the compiled EXE.
(if I did not set the full path, only the exe-file >> the compiler said: not found...)
Thanks for any help!
Edit2: (2020-08-11)
Deleted attachment, because a fixed will be uploaded in following post.