Guys, sorry to bring back old stuff, but....
I had a QB 7.1 program running fine. Then I added a data base with 1200-term array each term with 40 characters (list of cities and their geographical coordinates). From then on, I can't compile it any longer, I get a "segment size exceeds 64K" message.
The end result must be a single exe file (I can't use a second file, a dat type or whatever).
I get the same error even if I compile and link in the dos command line. The problem comes up in the link phase. Then I reduced the array to 600-term (they are read twice in order to get the same 1200 cities exhibited in the screen) and split it in subs that are smaller than 16 k. No use. I tried to use near instead of far, and got into a stack problem.
I'm using dos inside windows 98. I don't know if that has to do with expanded memory and how to create it from inside windows, and even if this will resolve it.
There is no doubt that the problem lies in the array, not in its use.
Does anyone still remember what I shoul do?
Thanks
Jacobb
I had a QB 7.1 program running fine. Then I added a data base with 1200-term array each term with 40 characters (list of cities and their geographical coordinates). From then on, I can't compile it any longer, I get a "segment size exceeds 64K" message.
The end result must be a single exe file (I can't use a second file, a dat type or whatever).
I get the same error even if I compile and link in the dos command line. The problem comes up in the link phase. Then I reduced the array to 600-term (they are read twice in order to get the same 1200 cities exhibited in the screen) and split it in subs that are smaller than 16 k. No use. I tried to use near instead of far, and got into a stack problem.
I'm using dos inside windows 98. I don't know if that has to do with expanded memory and how to create it from inside windows, and even if this will resolve it.
There is no doubt that the problem lies in the array, not in its use.
Does anyone still remember what I shoul do?
Thanks
Jacobb
Comment