[fpc-devel] resource support rework
ugilio at gmail.com
Tue Aug 12 09:20:02 CEST 2008
Michael Van Canneyt ha scritto:
> On Tue, 12 Aug 2008, Giulio Bernardi wrote:
>> Paul Ishenin ha scritto:
>>> Hello, FPC developers' list
>>> Since resource rework appeared in the trunk we are asking to merge that into
>>> fixes branch to let lazarus use it. You told many times that it was
>>> imposible for fpc 2.2.2. But yesterday it has been released and what about
>>> next fpc version? Will you merge that nice staff into current fixes branch
>>> or it will never be merged? I suppose if it ever will be merged then better
>>> to merge it early to give enough time for good testing (though lazarus works
>>> fine with it).
>> I wanted to add support for dynamic libraries first. That is, the possibility
>> to retrieve resources from shared objects, and not only from the main program.
>> This currently works for Windows only (obviously, since Win32 API is managing
>> The problem is that currently I'm a bit short of time :(
> I see no problem in merging what exists already, there should not be any
> problem in merging the additional support later. After all, the case where
> the resources are in dynamic libraries is rather rare.
Well, I think there is some delphi code that e.g. use resource-only dlls
to store things like localized forms and strings. Ok, there are .po
files in lazarus, but the resource thing is meant to ease porting of
delphi code too.
> Personally, I would be in favour of having it in 2.2.4, it would ensure
> that it is used.
The only "problem" is that the dynamic library resource support requires
some change in the binary format, so I wanted to stabilize it before
adding resource support to a stable release.
More information about the fpc-devel