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

  • Thread starter Thread starter Kamen
  • Start date Start date
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
 
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
 
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
 
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
 
Back
Top