Click here to Skip to main content
6,596,602 members and growing! (21,417 online)
Email Password   helpLost your password?
General Reading » Hardware & System » General     Intermediate

How to register DLL files from the Explorer

By Dudi Avramov

When we select a dll file in the explorer we can register/unregister it (by Regsvr32)
C++Win2K, Visual Studio, Dev
Posted:5 Aug 2002
Views:88,855
Bookmarked:13 times
Announcements
Loading...
 
Search    
Advanced Search
Add to IE Search
printPrint   add Share
      Discuss Discuss   Broken Article?Report  
9 votes for this article.
Popularity: 2.66 Rating: 2.79 out of 5

1

2
1 vote, 25.0%
3
1 vote, 25.0%
4
2 votes, 50.0%
5

Sample Image - ContextMenu.jpg

Introduction

Have you ever wanted to register DLL files from the Explorer? DLL files that export DllRegisterServer and DllUnregisterServer (as COM DLL files do) can easily be controlled from the Explorer while selected. You can register/unregister it as seen in the image above. To enable this feature, add subkeys to the registry under HKEY_CLASSES_ROOT\dllfile, as in the following:

Registry Image - dllfile.jpg

What is regsvr32?

Regsvr32 is an executable file that gets a DLL file name as an argument and runs its DllRegisterServer function (if exists). As for uninstall, just add the '/u' argument and it calls DllUnregisterServer function (if exists).

That's all.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Dudi Avramov


Member

Occupation: Web Developer
Location: Israel Israel

Other popular Hardware & System articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 6 of 6 (Total in Forum: 6) (Refresh)FirstPrevNext
GeneralSimpler PinsussHugo Hallman6:32 13 Jun '03  
GeneralCorrection PinsussIlia22:19 6 Aug '02  
GeneralSuggestions PinmemberErnest Laurentin5:44 6 Aug '02  
GeneralRe: Suggestions PinmemberThomas Freudenberg7:03 6 Aug '02  
GeneralRe: Suggestions Pinmemberokigan10:31 6 Aug '02  
GeneralRe: Suggestions PinmemberErnest Laurentin18:28 6 Aug '02  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 5 Aug 2002
Editor: Smitha Vijayan
Copyright 2002 by Dudi Avramov
Everything else Copyright © CodeProject, 1999-2009
Web09 | Advertise on the Code Project