The information in this article applies to:
SYMPTOMSWhile compiling a Visual Basic 5.0 project in Visual Basic 6.0, if the Visual Basic 5.0 project uses a type library that has a function that returns a LPVOID or a structure that contains a LPVOID field, the following error occurs:
CAUSELPVOID is a Typedef to "void *." Visual Basic 6.0 is changed to explicitly prohibit the use of pointers in structures and as function return values. RESOLUTION
Avoid using LPVOID as a field in a structure or as a return value in the
type library. Instead, change them to type LONG respectively. STATUSThis behavior is by design. Additional query words: kbdss kbDSupport kbVBp kbVBp600 kbCompiler
Keywords : kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |