Главная страница | назад





Article #15596: Interface class lpVtbl is not a member of

 Question and Answer Database
FAQ596C.txt Interface class lpVtbl is not a member of
Category :Windows API
Platform :All
Product :BC++ 5.x
Question:
What causes the error
lpVtbl is not a member of...
Answer:
MS Windows header files conditionally "wrap" C++ classes or
C structures around various interfaces such as IUnknown or
IMalloc. A common cause for this error is that you are compiling
C style use of these "classes" in a C++ program. To use the
code in a CPP file, define CINTERFACE before the inclusion
of the header files.
#define CINTERFACE
7/2/98 10:32:32 AM

Last Modified: 01-SEP-99