Fiddling around to see what the effect on EXE size would be if I removed all the "Unnecessary Macro Equates" from my code I encountered the "Out of main memory" message.
A search on POFFS indicated that this is the result of running up against the limits of the 16-bit compiler. My app (An EXE of 50 000 lines of code with a DLL of 25 000 lines) must therefore be approaching this limit. Hence it might be necessary to plan for some restructuring in the not too distant future.
The suggested solution was to break the code up into DLLs (somewhat reminiscent of having to break PBDOS programs into a series of chained modules). Passing many variables between DLLs and EXEs is a bit of a pain so I would be reluctant to go down this route unless and until absolutely necessary.
I suppose I am wondering whether a 32-bit version of the compiler has ever been considered as a wish list item.
The constant stream of wish lists that I receive myself has led to my own app growing like Topsy and landing me in this situation. I must admit to having become somewhat sensitised to arm waving clients requesting "a small new feature" unaware that the work they are suggesting would involve months of coding and testing and may in fact only be of benefit to a few people, I am therefore hesitant to suggest "improvements" to this excellent compiler when I am unaware of what is involved and the benefits to be expected.
------------------
Bern
www.insighttrading.com.au
[This message has been edited by Bernard Chapman (edited December 20, 2000).]
A search on POFFS indicated that this is the result of running up against the limits of the 16-bit compiler. My app (An EXE of 50 000 lines of code with a DLL of 25 000 lines) must therefore be approaching this limit. Hence it might be necessary to plan for some restructuring in the not too distant future.
The suggested solution was to break the code up into DLLs (somewhat reminiscent of having to break PBDOS programs into a series of chained modules). Passing many variables between DLLs and EXEs is a bit of a pain so I would be reluctant to go down this route unless and until absolutely necessary.
I suppose I am wondering whether a 32-bit version of the compiler has ever been considered as a wish list item.
The constant stream of wish lists that I receive myself has led to my own app growing like Topsy and landing me in this situation. I must admit to having become somewhat sensitised to arm waving clients requesting "a small new feature" unaware that the work they are suggesting would involve months of coding and testing and may in fact only be of benefit to a few people, I am therefore hesitant to suggest "improvements" to this excellent compiler when I am unaware of what is involved and the benefits to be expected.
------------------
Bern
www.insighttrading.com.au
[This message has been edited by Bernard Chapman (edited December 20, 2000).]
Comment