C# dll
-
Please someone explain me about: 1. ActiveX dll's get registered in the registry. How about c# dll's? 2. Is it possible to invoke a object from a dll sitting on another machine... something like we use in VB ex. set obj = Createobject(progid, machinename) I am sorry, if I my questions are meaningless. Please be patient and explain me so that I can understand. THanks in advance.
-
Please someone explain me about: 1. ActiveX dll's get registered in the registry. How about c# dll's? 2. Is it possible to invoke a object from a dll sitting on another machine... something like we use in VB ex. set obj = Createobject(progid, machinename) I am sorry, if I my questions are meaningless. Please be patient and explain me so that I can understand. THanks in advance.
All CLR Asseblies are self-contained, meaning that all information is stored within the Assembly itself. COM objects store information in the registry as well as in the objects type library. C# and all other .Net languages store information in the Metabase which is stored in the dll itself. This is why we can't do late binding with .Net languages. If you do need your DLL registered as a COM object so that you can use it in other languages such as VB6 or Delphi; there is a utility that ships with Visual Studio.Net that will create a type library for your objects and register them in the registry. You can find more information on this process in the Visual Studio help files. Hope this helps you. ;P -V-