I hit an invisible wall today. After nearly a year of working
to convert my main commercial DOS program to PBDLL, I added a
couple of hundred lines of new code today, and the compiler is
no longer able to compile it. I keep getting a "Destination
file write error, Line 10111" error message.
I've seen that error message before when a copy of my program
was still in memory, but that isn't the case this time. I even
shut down, rebooted, and tried again, same result. Is there a
10,000 line limit on PB/DLL programs? I'm only about 75% through
with porting my old DOS program, so if I can't add any more code,
I'm screwed. A whole year of 12-hr. days down the tubes.
(Actually, with #INCLUDE files, my program was up to almost
25,000 lines of code, excluding WIN32API.INC and COMMCTRL.INC,
so the limit is obviously not an arbitrary 10,000.)
Any suggestions?
(NOTE: I tried compiling from the DOS command prompt,
thinking the problem might be a memory limit of the PBDLL
editor, but keep getting the same "Destination file write error"
message every time, so that didn't work. Also ran a disk scan
diagnostic, in case there was a bad section on my hard disk, but
that's not it either. And tried compiling it on my laptop
computer, with same error message. Seems to be that I've hit
some sort of internal size limit of the compiler.)
My system has 128 megs of RAM, and the program was compiling
fine a few days ago, even on my 16-meg laptop, so the few hundred
lines of code (and no new arrays dimensioned) I've added since
then clearly weren't enough to cause me to run out of RAM on my
128-meg system.
Any suggestions will be GREATLY appreciated (other than starting
over from scratch, with a C compiler, which I fear may be the
only solution).
------------------
to convert my main commercial DOS program to PBDLL, I added a
couple of hundred lines of new code today, and the compiler is
no longer able to compile it. I keep getting a "Destination
file write error, Line 10111" error message.
I've seen that error message before when a copy of my program
was still in memory, but that isn't the case this time. I even
shut down, rebooted, and tried again, same result. Is there a
10,000 line limit on PB/DLL programs? I'm only about 75% through
with porting my old DOS program, so if I can't add any more code,
I'm screwed. A whole year of 12-hr. days down the tubes.
(Actually, with #INCLUDE files, my program was up to almost
25,000 lines of code, excluding WIN32API.INC and COMMCTRL.INC,
so the limit is obviously not an arbitrary 10,000.)
Any suggestions?
(NOTE: I tried compiling from the DOS command prompt,
thinking the problem might be a memory limit of the PBDLL
editor, but keep getting the same "Destination file write error"
message every time, so that didn't work. Also ran a disk scan
diagnostic, in case there was a bad section on my hard disk, but
that's not it either. And tried compiling it on my laptop
computer, with same error message. Seems to be that I've hit
some sort of internal size limit of the compiler.)
My system has 128 megs of RAM, and the program was compiling
fine a few days ago, even on my 16-meg laptop, so the few hundred
lines of code (and no new arrays dimensioned) I've added since
then clearly weren't enough to cause me to run out of RAM on my
128-meg system.
Any suggestions will be GREATLY appreciated (other than starting
over from scratch, with a C compiler, which I fear may be the
only solution).
------------------
Comment