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
Mike99

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]
"vidc.iv32"="ir32_32.dll"


My System SpecsSystem Spec
.

17 Sep 2012   #2
logicearth

Windows 10 Pro (x64)
 
 

My System SpecsSystem Spec
18 Sep 2012   #3
Mike99

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
logicearth

Windows 10 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
Mike99

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
logicearth

Windows 10 Pro (x64)
 
 

Relevant section near the top of the article.
Quote:
...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
Reply

 Registering a dll ?




Thread Tools





Similar help and support threads
Thread Forum
Problem registering
I am a member of the Vista forum my name there is Barbee and I tried signing in here and it would not let me use the same ID and PW. So I put in my email to register and it tells me I can't use my email because it is already in use. So I click to have the PW sent to my email and it has me down as...
Chillout Room
Registering mscomctl.ocx
When I register the mscomctl.ocx in my Win7 OS I got the following error: Mscomctl.ocx module has been load but an error has ocurred when dll register server has been called. (Error code: 0x8002801c) Can someone help me with this?
General Discussion
Registering A File
After installing Java, for some reason it didn't go well, and when I try to use some features, it pops a dialog saying that it can't find msvcr71.dll and to reinstall the program. Instead of reinstalling it, I found the missing file in the Java directory and copy/pasted it to my browser's plugin...
General Discussion
Registering Windows 7
Hi all, just brought my Mum Windows 7 home premium, thing is she never goes on the internet, just dose letters scans and prints etc etc....how will she go on about registering her copy? and will it stop her using it in time? Many thanks
General Discussion
Registering Windows 7
I have already downloaded and installed Windows 7 as well as registered it and it has been for quite some time now. My question is, I'm installing a new hard drive tomorrow and want to reinstall the operating system, am i able to use the same product key and have it reactivate or should I get a new...
Installation & Setup
Registering apps
not sure if its 7's problem but seems that everytime i register an app it keeps asking me to register again on the next launch of the win or app like it doesnt save it anyone else have that problem? any fix?
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 13:17.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App