Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-01

Win32 FPC and resource files (fwd)

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marco van de Voort

I received this from one of GPC's more friendly people: I put the attached file online on

http://www.stack.nl/~marcov/joinres.pas

If it really is a problem, the FPC team will of course some how integrate it with the current distributions. I post here mainly because there might be people currently experimenting with win32 resources.

----- Forwarded message from Prof A Olowofoyeku (The African Chief) -----

Earlier message 31 lines
From: Prof A Olowofoyeku (The African Chief) Organization: ChiefSoft To: Date: Wed, 01 Jan 2003 21:06:25 -0000 Subject: Win32 FPC and resource files Content-Description: Mail message body Hi Marco I have solved a problem that has plagued the Win32 versions of FPC and GPC and GCC for a long time - the problem of linking multiple binary resource files. FPC happily converts the resource files with windres but of course any attempt to link more than one of them fails. Attached is a small program that combines any number of binary resource files into a single one - which can then be converted into COFF format by windres and then linked. I intend to do all this automatically and transparently in my own compiler front end for GPC. I am now submitting this code for you FPC guys to use. Please pass it on to the appropriate person. The secret of combining more than one file is that all other ones (other than the first) have to be copied from offset 32 - otherwise, it won't work. So a simple "copy /b" will not work. Hope you guys find it useful! Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/ ----- End of forwarded message from Marco van de Voort -----

Reply by email