Hi, I am experimenting with the gorc resource compile, which suposedly can create coff object files for win64 from .rc files. See http://www.jorgon.freeserve.co.uk/Resource.htm#int fifth paragraph.
I created lazarus.obj with the following command line: C:\lazarus\source\lazarus\ide>c:\lazarus\downloads\Gorcjorg\GoRC.exe /machine X64 /fo lazarus.obj lazarus.rc GoRC.Exe Version 0.90.2 - Copyright Jeremy Gordon 1998/2006 - [EMAIL PROTECTED] Output file: lazarus.obj format: X64 Then I added this line to my program: {$LINK lazarus.obj} I got this error message C:\lazarus\source\lazarus\ide\lazarus.pp(119,1) Error: Error reading COFF Symtable while reading lazarus.obj Thne I tried something else and add the line {$R lazarus.obj} I starts to look for lazarus.or and I renamed the file. Then I got this error message C:\lazarus\source\lazarus\ide\lazarus.pp(119,1) Error: Error reading COFF Symtable while reading ..\units\x86_64-win64\lazarus.or I attached object file that gorc created. And now the questions: Am I taking the right steps to includes a resource file that won't be compiled by windres? Is using gorc a possible way to create resource files for inclusion in win64 programs compiled with fpc? Why does fpc complain about the COFF Symtable? Vincent
lazarus.obj
Description: Binary data
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel