report :
win10 , 64bit, Chinese
C:\lazarus18rc1\components\printers\win32\winutilprn.pas
line 251 is commented out :
-->//function OpenPrinter(_para1:LPSTR; _para2:PHANDLE; _para3:LPPRINTER_DEFAULTSA):BOOL;stdcall; external LibWinSpool name 'OpenPrinterA';
but package fortesreport-3.24-LCL-R2 \ rlprinterd.pas
line 127 need the function OpenPrinter() :
-->if not OpenPrinter(PChar(PrinterDevice.Name),@hPrinter,@foodefs) then ...
I changed that to
--> if not OpenPrinterW(PWideChar(PrinterDevice.Name),@hPrinter,@foodefs) then ...
then it can be compiled and installed.