473,699 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1084

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

Similar topics

1
354
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 assemblyinfo file that has a strong name and version assiciated with it. We are having problems in the way we have been developing. We have made two attempts at this. Attempt 1) In our first attempt, we basically had 1 folder that
22
2300
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 this deception for some..... "Michael A. Covington" <look@ai.uga.edu.for.address> wrote in message news:%23tKbygELFHA.576@TK2MSFTNGP15.phx.gbl... > > "Jim Hubbard" <reply@groups.please> wrote in message
1
2173
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..... along with the Component registration. By default, when we create an attributed COM Component, it adds, vi_progid, progid, coclass, uuid, etc.. This is enough to register the component. But, I need to add additional registration information like...
19
4088
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 generated a manifest, so far so good. The manifest says that there is a dependency to Microsoft.VC80.CRT version 8.0.50608.0. (Note that I do not explicitly use the CRT, the compiler is adding the dependency, but that is not the issue in this...
2
7698
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 need to do, I get blocks of errors like: root@slackserve:/var/www/htdocs# php ./phptest.php PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/mysql.so' - libmysqlclient.so.14: cannot open shared object file: No such...
0
1811
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. Currently, the ClickOnce security settings on the applications is set for "Full Trust". We are using shared assemblies across development groups, but none of these assemblies are signed with strong names since signing assemblies is only required when...
0
1012
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 creates .manifests, ..applications and sign them with a security key? I saw the System.deployment.application but I only sow examples that show how to update your applicaiton progamatically. -- Alberto Cardoso
0
183
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
2435
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
8689
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, 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...
0
8618
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,...
1
8916
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8885
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6534
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 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...
0
5875
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4376
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...
1
3058
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
3
2010
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 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...

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.