The information in this article applies to:
SYMPTOMSMicrosoft Excel causes a general protection (GP) fault when attempting to pass a nonadjacent reference to a DLL/XLL function registered as data type "R". For example, consider the following DLL function declaration:
Excel causes a GP fault if Test is called with a nonadjacent reference:
A1: =Test((A2,B2)) RESOLUTIONThe workaround for this problem is to call the dynamic-link library (DLL) function via a macro wrapper function. The layer of indirection introduced by calling the DLL function through a macro intermediary allows nonadjacent references to be passed without error. Here is a wrapper macro for the Test function:
STATUSMicrosoft has confirmed this to be a problem in Excel version 4.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. Additional query words: 4.00 GPF buglist4.00
Keywords : |
Last Reviewed: November 11, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |