The information in this article applies to:
SYMPTOMSIf you try to erase an user-defined type array of a variable-length strings, you may encounter a general protection (GP) fault or unrecoverable application error (UAE). WORKAROUNDThis problem doesn't occur if you use an array of fixed-length strings or an array of type Variant in place of the array of variable-length strings. Therefore, you can work around the problem by using an array such as the following with a user-defined type and fixed-length strings.
You can also work around the problem by using an array of variants instead
of an array of strings, as this example shows:
A third alternative is to erase the elements in the variable-length string
array manually instead of using the Erase statement, as follows:
STATUSMicrosoft has confirmed this to be a problem in Microsoft Visual Basic version 2.0 for Windows. This problem was corrected in Microsoft Visual Basic version 3.0 for Windows. MORE INFORMATIONSteps to Reproduce Problem
Additional query words: buglist2.00 fixlist3.00 2.00 3.00
Keywords : |
Last Reviewed: August 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |