Importing .NET assemblies to unmanaged C++ (VB6) projects

K

Kamen

Hi,
I am writing a software under .NET, what I need is a way to use my
assemblies from within unamanaged c++ or VB6 projects. Is there a way
that can help me import .NET assemblies within unmanaged code. Is there
a way to create a single component that is so easy to embed in any
project such as ActiveX?
Thanks,
Kamen
 
B

Barry Kelly

Kamen said:
I am writing a software under .NET, what I need is a way to use my
assemblies from within unamanaged c++ or VB6 projects. Is there a way
that can help me import .NET assemblies within unmanaged code. Is there
a way to create a single component that is so easy to embed in any
project such as ActiveX?

TlbExp is what you're looking for.

-- Barry
 
K

Kamen

Barry,

thanks for the hint, as far as I know TlbExp.exe and Regasm.exe are
tools for exporting assembly information so that non .Net Applications
or unmanaged code could use them. But is there a way to literaly export
a .net assemblie to a ".osx" file?

Thanks,
Kamen
 
B

Barry Kelly

Kamen said:
thanks for the hint, as far as I know TlbExp.exe and Regasm.exe are
tools for exporting assembly information so that non .Net Applications
or unmanaged code could use them. But is there a way to literaly export
a .net assemblie to a ".osx" file?

I think you mean ".ocx". TlbExp and friends are for exporting class in
..NET assemblies as COM components. ActiveX is built on COM. However, to
try and create an ActiveX visual control? I don't know how easy that
would be, sorry.

-- Barry
 

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