Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

"Version 2.0 is not a compatible version" from VB

Phre2dPhre2d Posts: 2Member
We are taking steps to upgarde our very large project to from VC++ 6.0 and VB 6.0 to .Net. One of the first steps was to replace a COM module with .Net assembly. To avoid having to rewrite the many calling programs, the COM module was also rewritten as a thin wrapper around the .Net libary.

The COM object (written with VC++ 2008), which is a thin wrapper around a .Net assembly (C# 2008, .Net 3.5) runs correctly from a C++ 6.0 host program but will not load from a VB 6.0 host program, immediately producing a "Version 2.0 is not a compatible version" error instead.

Any ideas why the language of the host program matters and what causes a "Version 2.0 is not a compatible version" error?

Even a better description of a "Version 2.0 is not a compatible version" error could be helpful.

Sign In or Register to comment.