5,667,575 members and growing! (16,177 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++NT4, Win2K, Windows, Visual Studio, Dev

Posted: 5 Aug 2002
Updated: 5 Aug 2002
Views: 82,984
Bookmarked: 11 times
Announcements
Loading...



Search    
Advanced Search
Sitemap
9 votes for this Article.
Popularity: 2.66 Rating: 2.79 out of 5
0 votes, 0.0%
1
0 votes, 0.0%
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



Occupation: Web Developer
Location: Israel Israel

Other popular Hardware & System articles:

Article Top
Sign Up to vote for this article
You must Sign In to use this message board.
FAQ FAQ Noise ToleranceSearch Search Messages 
 Layout  Per page   
 Msgs 1 to 6 of 6 (Total in Forum: 6) (Refresh)FirstPrevNext
GeneralSimplersussHugo Hallman6:32 13 Jun '03  
GeneralCorrectionsussIlia22:19 6 Aug '02  
GeneralSuggestionsmemberErnest Laurentin5:44 6 Aug '02  
GeneralRe: SuggestionsmemberThomas Freudenberg7:03 6 Aug '02  
GeneralRe: Suggestionsmemberokigan10:31 6 Aug '02  
GeneralRe: SuggestionsmemberErnest 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-2008
Web08 | Advertise on the Code Project