Calling .net object from 16-bit application

G

Guest

Hello,

I have a 16-bit application which has to make COM calls to a .NET object. Previoulsy, when i was using VB6.0, the 16-bit application would successfully make COM calls to an ActiveX EXE. The only equivalent of an out-of-process ActiveX EXE in .NET is class library dll. I have created a .NET dll and checked the 'Register with COM' box in Project Properties -> Build.

But i'm still unable to call any methods from the 16-bit application. Any suggestions?

Thanks,
 
P

Paul Clement

¤ Hello,
¤
¤ I have a 16-bit application which has to make COM calls to a .NET object. Previoulsy, when i was using VB6.0, the 16-bit application would successfully make COM calls to an ActiveX EXE. The only equivalent of an out-of-process ActiveX EXE in .NET is class library dll. I have created a .NET dll and checked the 'Register with COM' box in Project Properties -> Build.
¤
¤ But i'm still unable to call any methods from the 16-bit application. Any suggestions?
¤

You may need to use a 32-bit Visual Basic ActiveX EXE (as an automation proxy/host) to talk to the
..NET DLL. The 16-bit app can then make all of its calls (cross-process), to the .NET DLL, through
the 32-bit ActiveX EXE.


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 

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

Top