IS it necessary to register a dll for using it

Is it necessary to register a dll for using the dll. I heard that 16 bit dll need not be registered then what about 32 bit dll's. I converted a 16bit dll developed in borland c++ 4.52 to 32 bit dll using borland c++ 5.02. My question is whether I need to register it or not? When i tried to register using the regsvr32, It is giving the error "the module was loaded but the entry point DllRegistryServer was not found.Make sure it is a valid Dll or OCX and then try again".

Thanks in advance...

Answers


You only need to register DLLs that contain COM classes. These DLLs will contain an exported function called DllRegisterServer that will populate the registry will the class-ids of the COM types in the DLL.

For any other type of DLL you don't need to register it.


Need Your Help

How can we know when pop-up window url is loaded (window.open)?

javascript jquery

I need to change the URL of the page in the pop-up as soon as it completes loading ( I am using window.open function call).

WCF SslStreamSecurity DNS Identity Check failing for just 4.6 framework

c# .net wcf .net-4.5 .net-4.6

I am working on developing a new binding for a Wcf service that is hosted in IIS, I thought I got everything working, but it turns out that the client only works when it is targetting .Net framewor...