I'm trying to convert an extremely simple ActiveX DLL written in VB6
to C++ using ATL (VC7.1).
The VB6 code for the DLL is an example for an addin to a commercial
software also written in VB.
It contains only a single class with one single method.
Using the VS.NET wizard I've created an ATL Project and tried to implement
the same interface.
Although the type library description I get from OLEView seems (nearly)
identical, I get a "type mismatch 13 error" when trying to use the addin.
I would be happy if someone could help finding an answer
to these questions:
1. Are there any special settings or changes needed to make the code
from the wizard "compatible" to VB6 or can I leave it as it is.
2. Has anybody an idea why I get a type mismatch although the
Interface is identical? (At least from what I can see in OLEView)?