Public Variables exposed thru type library in DLL registered for COM interop
Posted on 2007-04-05
Correct me if my nomenclature is off. We just converted a large VB6 DLL to VB .NET and will be using it in a Visual C++ executable. When we import the type library in Visual C++, the Global / Public variables in each class are not exposed like they used to be.
Is there any way to have the Public variables exposed through the COM interface like they used to be? We can’t switch our exe to use managed code (CLR), but any other suggestions are welcome.