I am using Visual Basic 6
I have the following code structure:
FUNCNINFO is a structure
Public funcTable() As FUNCNINFO
-----
------
ReDim Preserve funcTable(0 To upsize + ns)
When the value of (upsize + ns) is exceeding 32766,it is giving the runtime overflow error ‘6’
Do you have any idea of the cause and the solution?
VB6’s
Integertype is 16 bits so cannot store a value > 32767, itsLongthat’s the 32 bit integer type so the following will work;