ACC1x: GP Fault When Passing User-Defined Type with ArrayLast reviewed: June 8, 1997Article ID: Q105647 |
The information in this article applies to:
SYMPTOMSYou get the error message "MSACCESS caused a General Protection Fault (GP Fault) in module MSABC110.DLL at 000D:1AD4" when you attempt to pass a user-defined type to a function or Sub procedure in which one of the components of the user-defined type is an array. This happens only under the following conditions:
RESOLUTIONA workaround for Microsoft Access version 1.1 is to explicitly cast the data type of the array. For the example below, instead of
Call GPFTest(Testing.StrArry())you would explicitly cast the array as a string array by placing the "$" character at the end of the array reference, such as:
Call GPFTest(Testing.StrArry$()) STATUSMicrosoft has confirmed this to be a problem in Microsoft Access versions 1.0 and 1.1. This problem no longer occurs in Microsoft Access version 2.0.
MORE INFORMATION
Steps to Reproduce Problem
|
Additional query words: Programming GPF
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |