473,513 Members | 2,391 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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

Jul 7 '06 #1
3 1453
"Kamen" <k.*********@gmail.comwrote:
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

--
http://barrkel.blogspot.com/
Jul 7 '06 #2
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

Barry Kelly wrote:
"Kamen" <k.*********@gmail.comwrote:
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

--
http://barrkel.blogspot.com/
Jul 8 '06 #3
"Kamen" <k.*********@gmail.comwrote:
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

--
http://barrkel.blogspot.com/
Jul 8 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3288
by: Timothy Shih | last post by:
Hi, I am trying to figure out how to use unmanaged code using P/Invoke. I wrote a simple function which takes in 2 buffers (one a byte buffer, one a char buffer) and copies the contents of the byte...
29
4179
by: Natan | last post by:
When you create and aspx page, this is generated by default: using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using...
0
907
by: k.boyadjiev | last post by:
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...
5
2784
by: =?Utf-8?B?aWduaGVucnk=?= | last post by:
I have a managed C++ project and two C# projects. All are class library projects. The C++ project links with native C++ static libraries and references to one C# project. The projects structure...
0
7388
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7545
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7539
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5692
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5095
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3240
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3228
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
461
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.