473,503 Members | 1,656 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Converting a VS 6.0 project

Hi all,

A VC 6.0 project( output is a Activex DLL) is converted to VC 2005
project and the output here is again a DLL.

When i try to include this DLL as a refernce is another VB 2005
project, i see this DLL as a COM DLL and it is creating a interop DLL
for interoperability. Why is it still seen as a COM DLL. When compiled
through Visual Studio 2005, does it not change it to a .Net DLL.

Can some one figure out what is goin wrong in this conversion.

Thanks,
Sugan.

Jul 11 '06 #1
5 1038
A VC 6.0 project( output is a Activex DLL) is converted to VC 2005
project and the output here is again a DLL.

When i try to include this DLL as a refernce is another VB 2005
project, i see this DLL as a COM DLL and it is creating a interop DLL
for interoperability. Why is it still seen as a COM DLL. When compiled
through Visual Studio 2005, does it not change it to a .Net DLL.
ActiveX == COM sort of. the terminology is mixed so often that the
difference between the 2 depends on when the question was asked at a
specific point in time.

If you add a COM/ActiveX reference to a .NET project, a wrapper will
automatically be created by VS *
so that you can use ActiveX objects like .NET objects.
(*) if there is a type library.
Can some one figure out what is goin wrong in this conversion.
Nothing. Your activeX project is still an activeX project.
It will still create an ActiveX component.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Jul 11 '06 #2
Does it mean that even if i convert a ActiveX project from VC 6.0 to VC
2005, it is not a .Net DLL. Still i have to use it by selecting it from
the COM Dll category. So it would again create a InterOp Dll when i use
it .Net Framework.

Now, what is the difference between the Dll compiled in VC 6.0 and VC
2005, as both results in producing a Interop DLL when included in a
..Net project.

Thanks,
Sugan.
>
Nothing. Your activeX project is still an activeX project.
It will still create an ActiveX component.
Jul 11 '06 #3
Does it mean that even if i convert a ActiveX project from VC 6.0 to VC
2005, it is not a .Net DLL. Still i have to use it by selecting it from
the COM Dll category. So it would again create a InterOp Dll when i use
it .Net Framework.

Now, what is the difference between the Dll compiled in VC 6.0 and VC
2005, as both results in producing a Interop DLL when included in a
.Net project.
For practical purposes there is no difference between the 2.
They are both ActiveX libraries.
Of course, VC2005 has a better compiler etc, so the code may be faster /
more efficient.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Jul 11 '06 #4
Sugan wrote:
Does it mean that even if i convert a ActiveX project from VC 6.0 to VC
2005, it is not a .Net DLL. Still i have to use it by selecting it from
the COM Dll category. So it would again create a InterOp Dll when i use
it .Net Framework.

Now, what is the difference between the Dll compiled in VC 6.0 and VC
2005, as both results in producing a Interop DLL when included in a
.Net project.

Thanks,
Sugan.

>>Nothing. Your activeX project is still an activeX project.
It will still create an ActiveX component.

Sugan:

Functionally, there is no difference, though the VC 2005 one might run
better because the optimizations are better.

The (only?) good thing about COM is that it is language-independent.
Unlike other static or dynamic libraries, you do not have to recompile
COM DLL's when you move the client application to a different compiler.

David Wilkinson
Jul 11 '06 #5
Hi David,

Thanks for your explanation.

-Sugan

Jul 11 '06 #6

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

Similar topics

3
3090
by: j.a. harriman | last post by:
Hi, On MSDN I know there is a JScript example (Upgrading Visual C++ Projects to Visual Studio .NET in Batch Mode) to upgrade VS6 C++ projects to .NET solutions. It converts the project files...
1
3365
by: William F. Zachmann | last post by:
I am working on a project converting a DLL originally written in C++ using Visual Studio 97 accessing a SQL 6.5 data base to VS.Net 2003 and SQL Server 2000. I would very much appreciate any...
5
2493
by: Robert | last post by:
I have a series of web applications (configured as separate applications) on a server. There is a main application at the root and then several virtual directories that are independant...
9
1614
by: Michael Tissington | last post by:
After converting from 6.0 to 2005 when I try to Compile my project I'm getting a LINK error Error 1 fatal error LNK1181: cannot open input file " ?/.obj" Any ideas how to fx this please ? ...
0
1694
by: Rich | last post by:
(1) Is there a better place to pose the question below? (2) I am starting to convert my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 Professional (.NET v2.0.50727). The entire...
5
3316
by: bob | last post by:
Hi Using 2003 - targeting the compact framework (c#), but would like to do most development using the full.net (manually leaving out stuff not in the compact framework). Q. Trying to find a...
0
1107
by: Tom | last post by:
I am converting a small VB.NET 2003 application over to VS 2005. I ran it thru the 'upgrade' wizard which prompty upgraded it without any real issues (except some warnings). However, I did notice...
2
3652
by: Rainer Queck | last post by:
Hello Microsoft Support, It looks like there is a bug inside the VS2008 Pro IDE. I did quite a bit of debugging to narrow the problem down. Here is the result of my efforts: A VS2005 project...
1
3822
RRick
by: RRick | last post by:
I have a unix C++ project that needs to be converted over to windows visual studio. I'm not sure of the exact version of VS, but it's a recent version, probabIy 2003 or 2005. I would like the...
1
2618
by: =?Utf-8?B?SG93YXJkIFBpbnNsZXk=?= | last post by:
I'm trying to convert a Web Site to the Web Application project model and I'm running into compile errors that do not seem to be covered by the guidance I found at "Converting a Web Site Project to...
0
7198
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
7271
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,...
1
6979
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
5570
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,...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
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
1498
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
373
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.