I am new to Lazarus. I wish to use it to enable existing Turbo Pascal (Ver 7.0) .EXE files to run under Windows 10. My .PAS source file contains the link directive {$L VGADRV.OBJ}. This .OBJ file is in the same directory as the .PAS file. When I attempt to compile this in Lazarus IDE v2.02 I get the Error message:
"Error: Illegal COFF Magic while reading C:\Lazarus\Play_Pen\VGADRV.OBJ
What work-around can I use to enable compilation? Thank you for your insights