Subscript out of range error in init messages

I found this in EO 2.3.

In the client HandleDataSub is declared like this

Public HandleDataSub(1 to CMSG_COUNT) As Long

where it should be like this

Public HandleDataSub(1 to SMSG_COUNT) As Long

This causes the client to crash with a subscript out of range error on start up if  SMSG_COUNT is greater than CMSG_COUNT

Shouldnt be


Public HandleDataSub(SMSG_COUNT) As Long

?

Log in to reply