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 interoperabilit y. 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. 5 1045
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 interoperabilit y. 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************* *********@hotma il.com
Remove only "_nos_pam"
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.
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************* *********@hotma il.com
Remove only "_nos_pam"
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
Hi David,
Thanks for your explanation.
-Sugan This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 (*.dsp), but doesn't create the solution
(*.sln) file.
Is there an automated way to convert an existing VS6 C++ *.dsw to a .NET
*.sln?
|
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 suggestions and/or references to
good sources for information about issues I am likely to encounter along the
way.
My immediate issue, however, is that after opening the old project and
accepting the conversion to VS2003, a build fails with five...
|
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 applications.
I am testing an upgrade of all of the sites and have converted the main root
site...although not necessarily fixed any issues.
I move on instead and converted one of the virtual roots that is a seperate
|
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 ?
--
Michael Tissington
http://www.oaklodge.com
|
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 solution uses the following technologies -
Windows Server 2003
Windows Mobile 2003
Windows XP Professional SP2
Windows 2000 Professional SP4
SQL Server 2000
| |
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 way of converting a project to have builds for both
compact and full. Project properties doesn't seem to help
Thanks
|
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 that it didn't
really take advantage of the new 'My Project' system folder and
namespace - i.e. the AssemblyInfo.vb was still in the main app, along
with app.config, etc etc.
In order to take advantage of the My Project (i.e. My namespace)...
|
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 compiles and runs fine, built in VS 2005 Pro.
This application displays a bunch of thumb jpg images using PictureBoxes on
its main Form. the PictureBoxes are created dynamically on startup.
|
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 windows directory tree to mimic the unix tree as closely as possible, but I don't want duplicate files and other inconsistencies. I have come up with an idea but I don't know how close it fits a "typical" windows project. If you know of specific...
|
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 a Web Application Project".
The issue is that standard ASP.NET controls that are embedded as child
controls within the ContentTemplate of the Ajax Control Toolkit's
TabContainer/TabPanel are no longer visible to the page (and result in
compile...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 we have to send another system
|
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |