BADITEMSTRUC
Development error. The VCS error reporting system has detected that the item (data field, pushbutton, menu field, memo field, or scrollable region) structure has been corrupted, that is, an inadvertent overwrite of memory occurred in the data region occupied by the referenced data structure.
Memory corruption can be caused by a variety of programming errors, including exceeding the bounds of an array, using an uninitialized pointer, or passing an incorrect parameter to a function. Memory corruption errors are difficult to find and require that you carefully check all possible sources of error. One helpful step is to turn on prototype checking, if it is supported by your compiler.