Problem with AxImp and VS 2010



I have a legacy application which involves creating a ActiveX wrapper
for a
DLL written in C++ and adding it to a VB.Net windows application.
In VS 2005, the process is:
<Compile and link App.dll>
Regsvr32 App.dll
AxImp App.dll -> produces AxApp.dll and AppLib.dll

I upgraded to VS 2010 and recompiled and linked and registered the dll
again. This time, when I ran AxImp, I get the message:
"did not find a registered ActiveX control"

I ran
TlbImp App.dll -> produces AppLib.dll
AxImp App.dll -> Same error message as above.

What am I doing wrong? (Be merciful - I'm not that familiar with
ActiveX or Interop).


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question