vb6 - Run time Error '6':Visual Basic -
I am using Visual Basic 6 - I have the following code structure: FUNCNINFO is a structure
FUNCNINFO as a public funcTable () ----- ------ Protect the reDim funcTable (0 to upsize + ns)
when The value of (Upsize + ns) is greater than 32766, giving it runtime overflow error '6' Do you have any idea of reason and solution?
vb6's integer
type is 16 beats, so no value is cached 32767, its long
this is 32 bit integer type, so that the following will work;
Keep long-term upsize = 32766 ns = 12345 redeem funcTable (0 and upsize + ns) as long as slow-ups as slow-ups
Comments
Post a Comment