473,397 Members | 1,969 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,397 software developers and data experts.

DLL Hell; Manifests vs. Registration

I'm trying to more fully understand how .NET gets us out of dll hell by more
clearly understanding what goes into the manifest and contrasting that with
and what life was like before the manifest. Specifically, I would like to
know why COM components need to be registered in the Windows System
Registry. Registering COM components has been a fact of life that I've lived
with but never really understood or questioned. Now .NET is here and
registration is no longer required because.NET assemblies are
"self-describing" per the manifest. I can reasonably conclude that COM
components are not self-describing - and therefore need to be described by
something other than themselves. I'm presuming that "other thing" that
describes the component is the Registry (or type library - or both?). So,
with COM components (e.g., a simple "Hello World!" VB6 class compiled into
an ActiveX dll), what specifically needs to be described, and how does it
get described (what goes into the Registry, how do type libraries fit into
the picture)? It would be great if you could provide a comparison/contrast
with a .NET manifest (what goes into a .NET manifest - and where equivalent
info goes to describe a COM component) for a simple COM component and
equivalent .NET assembly.

Thanks in advance!
Nov 20 '05 #1
0 1076

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

Similar topics

1
by: malcolm | last post by:
Hello, We have a small team building a project that involves some 30 or so c# assembly dlls. It is a client server application with 1 exe as the starting point. The dlls and exe are sharing an...
22
by: Jim Hubbard | last post by:
I am reposting a portion of a thread that I am involved in under a new topic because it seems that there are still people that believe the whole "DLL Hell" myth. I hope I can shed some light on...
1
by: Ashok K Kumar | last post by:
Hi, I have a ATL Attributed DLL which exposes a COM Component. My requirement is, whenever, the DLL is registered, I also would like to add some entries to the HKLM/Softwares/CompanyName........
19
by: Richard Grimes | last post by:
I have just installed VS2005 RTM on a machine that has *never* had any of the beta versions. It did have VS2003, but I uninstalled that. I built a DLL with the new managed C++ syntax. The linker...
2
by: news | last post by:
I just upgraded to PHP 4.4.2 on my Slackware 10.2 system. And Apache/mySQL/PHP all work great through a browser. No errors. But when I try to run a PHP script through the command line, which I...
0
by: Raffi Basmajian | last post by:
I am trying to understand the difference between signing ClickOnce manifests and signing shared assemblies. My company is building .Net 2005 WinForm applications for internal company use only....
0
by: =?Utf-8?B?QWxiZXJ0byBDYXJkb3Nv?= | last post by:
Im creating a clickonce application... Im not using VS2005 to publish it, im using the mage.exe wich is a DOS programa and is not very friendly. Is there a library or some set of classes that...
0
by: xkp | last post by:
On 30 Mag, 15:13, Jigar Mehta <jiga...@gmail.comwrote: Hi Jigar No they use standars windows libraries,and no manifest embedding.
2
by: nirav11 | last post by:
# include <iostream> # include <fstream> # include <iomanip> # include <cstdlib> // needed for exit () using namespace std; int main() { ifstream inFile; ofstream outFile;
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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,...

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.