My program has the following VB6 type (one out of many) definition;
a as Long
b as Integer
The program passes the above type to a C++ DLL, which has a
It works like charm. However, I would like to make the C++ DLL more accessible to VB with a Type Library instead. I followed Microsoft Knowledge Base Article - Q189133, and compiled without any error. When I then run the program, VB gives me the error "Variable uses an automation type not supported by VB". I know the reason is that VB won't accept that 'a' is a pointer to a float in the C++ struct.
Is there any work around?