Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
compile error
#1
error description "fatal error L1070: BC_DATA : segment size exceeds 64K"

LINK returns this error.

i have tried both QB4.5 and QB7.1 compilers. i have tired the switches /Ah, /Fs, /Es and they do not help.

the module this error refers to is actually something Relsoft made for me and has compiled before, tho it was some years ago and i'm not as in touch with recognizing these problems.

i understand the error means either the module itself is too large (it is not, it is 17.6 kb, 32 on disk) or an array declared within is too large... but like i said, it has compiled before. it's simply a side-module which has remained unchanged since it was made for me.

appreciate any help :???:

sure would be nice if there was a manual or guide on BASIC compiling. if there is something of the sort, let me know. someone should write one.
Reply
#2
Add this to the top of all source modules:

Code:
'$DYNAMIC
and recompile.
I'd knock on wood, but my desk is particle board.
Reply
#3
well my friend, this has started a whole new set of problems, as i suspected. but i believe you've got the right idea.

now, an array which is implicitly defined (through a SUB argument, not DIM statement) is causing the error "subscript out of range". the program does not recognize its existance at all, it is uncreated. '$DYNAMIC did that, somehow. but can't arrays be created implicitly with DYNAMIC? it doesn't seem so.
Reply
#4
Hello Xchaser!!! :*)

QBMCX. :*)
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)