I'm using VS2019 for both c++ and VB. However even after upgrading all my projects to 2019 level from 2010 and 6.0 I am still having trouble with this issue. All I want to do is write a simple dll in c++ and then get VB to be able to use it. But when I try to reference the dll from VB I get the following message:

Name:  err.jpg
Views: 1434
Size:  31.7 KB