[futurebasic] Re: [FB] Separate Rsrc file

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1999 : Group Archive : Group : All Groups

From: Chris Stasny <staz@...>
Date: Mon, 4 Oct 1999 12:41:20 -0500
>>Just a small note: The major problem with resource files getting too large
>>is that you can't have more than 2127 resources in a file. That technically
>>means 2127 entries -- not actual resources. If you call changed resource 10
>>times on a single resource, then you have 10 entries for that resource
>>instead of one. This is all cleared up when the res file is updated. See
>>our site for a better way to call changedresource.
>>Best,
>
>>-STAZ  ~)~
>
>Staz,
>
>I find having 3 external rsrc files (1 for graphics, 1 for STR# & Styled
>TEXT and 1 for Snds & Music) during the "Programming" very convenient ..
>
>And with FB^3 installing the resources of these Externals into a "Built
>Program", the program ends up as one big Program without "Satellite" rsrc
>files .. An Outstanding improvement over FB II
>
>BUT .. You just brought up a point that I "Don't Grab"
>
>> If you call changed resource 10
>>times on a single resource, then you have 10 entries for that resource
>
>Is this the number of times the Program uses the resource
>

No.

>Or is this if the program actually makes a physical change to a resource

No. It's the number of times you call CHANGEDRESOURCE

>
>'Cause if it Is the number of times the Program uses the resource I'm
>going to be In A World Of Hurt ;-(
>
>BTW : That 2127 .. Is that a limit on a single resource .. such as PICTs

It's a limit on the total number of resources.

>
>Or is that a grand total limit of all the resources in a file combined
>
>AND .. Does this limit pertain to the rsrc file during programming only
>

No. Always.

>or is it the grand total limit of resources that a Built Program can have
>


No resource fork can have more than 2127 resources, whether it is an
application or a file, that's the limit.



Best,

-STAZ  ~)~

800.348.2623 Orders  http://www.stazsoftware.com
228.255.7086 FAX     mailto:staz@...