[fpc-devel] big resource

Yury Sidorov jura at cp-lab.com
Mon Jul 6 14:45:26 CEST 2009


From: "Dariusz Mazur" <darekm at emadar.com>
> Michael Van Canneyt pisze:
>>
>>
>> On Mon, 6 Jul 2009, Dariusz Mazur wrote:
>>
>>> Hi
>>> I include res file to executed file. Res is compiled by  brcc32 
>>> from RC. Till now everything work OK.
>>> But when i try extract big PNG picture from RES I had wrong size 
>>> of file.
>>> File has length 136303.
>>> When I read it from res length is   5321. This seems  size of res 
>>> is 16 bit.
>>>
>>> This is intentional that size of resource is limited ?
>>
>> Not intentionally, at least not that I am aware of. Maybe there is 
>> a bug ?
> I use {$R file.res}
> How prepare testcase: should I attach big PNG+RC+RES file?

You should try FPC 2.3.1 first. It has rewritten resources support and 
may work properly.

Yury. 



More information about the fpc-devel mailing list