Have anyone seen this error? I'm trying to use a managed C++ class in an
VB6 application. For each class definition in my header files (.h) I put
[ClassInterface(ClassInterfaceType::AutoDual)] in front of the defintion.
Then I use regasm to generate the typed library for my VB6 application, but
when i type >regasm myclass.dll /tlb , i got the follow errors.
Types registered successfully
RegAsm error: Inconsistent property functions.
Anyone have any idea? I searched google and no one seems to have seen it
before.
Btw, what would be the FASTEST way to use a managed C++ class in an VB6
application, without reading a COM book or learn COM from scratch. Most of
the COM books suck and dont' tell you much.
--
-----------------------------------------------------------------
Isaac Yuen
CEM
University of Alberta
iy***@ualberta.construction.ca
-----------------------------------------------------------------
| University of Alberta
| Phone: (780) 492-2276
| Fax: (780) 492-0249