PRB: Using HSZ in AFXEXT.H and DDEML.HLast reviewed: July 23, 1997Article ID: Q98871 |
3.00 3.10
WINDOWS
kbprg kbprb
The information in this article applies to:
SYMPTOMSWhen using both the AFXEXT.H and DDEML.H include files in the same source file, the following message is received:
error C2371: 'HSZ' : redefinition; different basic types CAUSEThe problem is a naming conflict between Dynamic Date Exchange Management Library (DDEML) and Visual Basic eXtension (VBX) files controls, in which both use the type HSZ [handle to a string that is zero (NULL) terminated] but with with different meanings. AFXEXT.h includes the definition of HSZ in order to support the Control Development Kit (CDK), and DDEML.H uses HSZ as a string type.
RESOLUTIONWorkarounds for this problem include:
|
Additional reference words: 3.10 c2371
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |