Walter Meester
HoogkarspelNetherlands
Larry,
>>Classes in a visual class library take about two or more times as much memory than classes defined in a PRG.
>I'm not sure I agree with this. Three of the six most light weight VFP classes are visually editable (CommandGroup, OptionGroup and Line). In fact, from my tests, a Custom class created in the Class Desiger visually is lighter weight than the same thing defined in PRG code.
I'm talking about the amount of memory it takes when building an executable. Fact is that the whole VCX table (including VCT) is included in the executable. You can reduce the amount of memory to uncheck the 'include debug info' in the project manager, but this will lose the capability to trace the linenumber of the program in wich the error occured. I've compared the size of a classlibrary with the size of a compile PRG with the same classes. In my cases the difference was a factor 3 (The PRG was smaller).
It makes me think, ... how do you define lightweight ??
Walter,
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only