473,395 Members | 1,675 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Using a .net DLL in a Visual C++ 6.0 project ...

Is this possible?

We have a application in Visual 6.0 and i want to add some
functionality.

is it possibly to code it in .net and use it in a native c++/MFC
project?
or is it easier just to code it in c++.

regards Norbert

Nov 17 '05 #1
2 1885
Hi,

You can do it, you can create a COM callable wrapper around a .net dll and
makes it callable as a COM object, you have to do a couple of things, like
setting a Guid , generate a tbl file , etc

Take a look at MSDN,
http://msdn.microsoft.com/library/de...nentstocom.asp

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"nobs" <no**********@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Is this possible?

We have a application in Visual 6.0 and i want to add some
functionality.

is it possibly to code it in .net and use it in a native c++/MFC
project?
or is it easier just to code it in c++.

regards Norbert

Nov 17 '05 #2
nobs wrote:
Is this possible?

We have a application in Visual 6.0 and i want to add some
functionality.

is it possibly to code it in .net and use it in a native c++/MFC
project?
or is it easier just to code it in c++.

regards Norbert

You can do it using .Net Interop, but if you are sure that it will be
used in C++/MFC, it probably makes more sense to do it in C++ , the
unmanaged world.

HTH.

JW
Nov 17 '05 #3

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

Similar topics

3
by: Whoever | last post by:
To create Excel file, you can Add Reference Visual Studio.NET, browse to ... and then select Microsoft.Office.Interop.Excel, etc. It endsup some reference to GUID in project file. You can then...
1
by: fang | last post by:
Really confusing, I am using visual stdio C++ 6.0 I add a new project file into my current workspace. If I use the default output directory like default and release, everything works fine. But...
1
by: Robert Hanson | last post by:
Hi All, Any gotchas using Visual Sourcesafe in VS.Net and C# that I need to know of? Thanks in advance, Bob Hanson Centare Group Ltd.
2
by: sbu_c_student | last post by:
Hello.... I wanted to know if there was a way to write simple c code using visual .net? I really want to get used to the ide but i'm not sure how to.. Any comments will be appreciated... ...
3
by: Kieran Kelly | last post by:
Is it possible to create a new Web Application Project using Visual Studio.Net 2003 on Windows 2003 Server but no in the Default Web Site. 1. I have created a new Web Site in IIS called WebSite2...
0
by: John M | last post by:
Hello, I am using Visual studio .NET 2003. I had changed the start default project by : project -> properties -> configuration properties -> start project (the changed page was a frameset). ...
0
by: sharmasu | last post by:
Hi, I have windows XP professional, IIS5.0, .net 2.0, .net 1.1 and visual interdev installed on same machine. When i try to create a web project using "web project wizard" I don't see the virtual...
2
by: olanasta | last post by:
hello I have a problem with a project. I 'm using visual c++ 6.0 to access an oracle database. Everything is OK, but the initial of some fields. When I 'm trying to update them, the new field's...
1
by: danishce | last post by:
Hello, I am using VS.NET 2003. I am making a DLL in VB.NET for use in a Visual C++ application. The problem is my Visual C++ application does not execute functions in .Net dll. I started a new...
1
by: jonny | last post by:
Went from using Visual Web Develop express to Visual Studio 2005 and getting error when trying to open project. Error message: "One or more projects in the solution could not be loaded for the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.