TSS problems in MS-DOS
Posted in 1992
Hello world! This one is dedicated to all those who have ever had to struggle with Informix 4GL for MS-DOS. I've been working for sometime on a project on MS-DOS that uses Informix. The trouble is that one of the programs has grown somewhat large (2 MB on the executable file) and I started having problems with the "temporary string storage" (TSS) runtime error. The program is beeing compiled with MSC 5.1 and linked with .RTLink+ with VMS (in order to keep its image within DOS' 640K). I would like to know if anybody knows the answer to the following questions 1) where is TSS allocated? (heap, stack, other...) 2) when is TSS allocated? (function calls, i/o statements, ...) 3) when (if ever) is TSS freed? 4) is there any way to do some sort of garbage-collecting on the TSS? 5) what are the ways to prevent the TSS runtime error? Any answer to any of these questions would be much appreciated. Thanks guys! Pedro. Pedro Geraldes Freire | BITNET/Internet: pgf@fct.unl.pt Projecto CIMTOFI | UUCP: pgf@unl.uucp UNINOVA - GRI - FCT/UNL | Fax: (+351) (1) 295 56 41/44 61 2825 Monte Caparica, PORTUGAL | Phone: (+351) (1) 295 44 64 ext.1560