Please direct me if this has been answered previously.

Here's my problem. I am decidedly not a C++ Programmer.

I do pretty good with VB6...

I have a 3rd Party program that I need to write a replacement User GUI for.

The company has provided a .DLL and the interface example is for C++ ATL COM

(I have tried to add a form and control to their example only to have the thing fall apart when I do.)

Is there a way to implement an ATL COM interface in VB6.

Thanks,

If you are not running the newest service pack of VB6, the ATL will change the registry setting for the referenced dll, resulting in major errors. Read more about this from Microsoft, which rectified the bug at - http://support.microsoft.com/kb/237175
The following sites might help out as well -
http://stackoverflow.com/questions/1730515/how-to-create-a-vb6-collection-object-with-atl
Or
http://www.codeguru.com/cpp/com-tech/atl/atl/article.php/c11

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.