Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Registering a dll ?

17 Sep 2012   #1

Windows 7 Ultimate x64
Registering a dll ?

What is the difference between registering a .dll by doing this:
regsvr32 <path & filename of the dll

Versus doing this:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]

My System SpecsSystem Spec

17 Sep 2012   #2

Windows 8.1 Pro (x64)

My System SpecsSystem Spec
18 Sep 2012   #3

Windows 7 Ultimate x64

Thank you for the link. I read it a couple times but do not understand a lot of it. Also, as the title states, it's about how can you tell if a dll has been registered. While that may be important to know it does not tell me what the difference is between using the two methods I mentioned. I very seldom get into the register but do remember using each of these methods once. I just don't know when to use either one and/or if it makes any difference.
My System SpecsSystem Spec

18 Sep 2012   #4

Windows 8.1 Pro (x64)

The difference between the two methods is dependent upon the DLL, I assumed you would be able to unserstand that once reading the article, that regsvr32 only runs a function within the DLL that does the actual installation/registration which could be anything. Meaning, the DLL could require more then setting a registry key to function.
My System SpecsSystem Spec
18 Sep 2012   #5

Windows 7 Ultimate x64

As mentioned, I don't understand a lot of the article. You're assuming I know a lot about this topic but I have no idea what "only runs a function within the DLL" means.

If there was a reference to the second method I missed it but will re-read everything again.
My System SpecsSystem Spec
18 Sep 2012   #6

Windows 8.1 Pro (x64)

Relevant section near the top of the article.
...the DLL merely provides two functions for regsvr32 to call, one for registration (DllRegisterServer) and another for unregistration (DllUnregisterServer). All the regsvr32 function does is call those functions.

How those functions perform their registration and unregistration is not specified. Most of the time, those functions merely write some registry settings, but the DllRegisterServer is not limited to that...
If you don't understand this, then the best advice is to leave it alone.
My System SpecsSystem Spec

 Registering a dll ?

Thread Tools

Similar help and support threads for2: Registering a dll ?
Thread Forum
Solved Problem registering Chillout Room
Error Number 5 while registering dll Software
Registering mscomctl.ocx General Discussion
Registering A File General Discussion
Registering Windows 7 General Discussion
Registering Windows 7 Installation & Setup
Registering apps Software

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:50 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33