there is of course a way to put settings in your registry that will allow you to right-click on a dll or ocx file and then click Register or Unregister fromt the context menu. However, for those of you who don't like messing with your registry (or don't know how) , here's a simpler way to register/unregister:

Just find your regsvr32.exe file and place a shortcut to it in your Windows SendTo folder. Then copy it and in the Target property of the new shortcut, append a '/u' (no apostrophes) to the end of the exe name. Then you can change the names of these shortcuts to "Register" and "Unregister". Then when you right click on a file, just use the SendTo menu to perform your dirty work!

Dani AI

Generated

A few practical notes that tie together the tips already posted by , and and that address the follow-ups from , and .

The SendTo shortcut is a handy, low-risk quick fix (good for occasional use). The .reg/context-menu approach is more convenient long‑term but edits the registry and behaves differently under UAC and on 64‑bit Windows, so treat it as a persistent change and back up the registry first.

Troubleshooting "LoadLibrary failed" / "could not be loaded into memory": common causes are a bitness mismatch (32‑bit control on a 64‑bit OS), missing dependent runtimes (VB6/Visual C++ redistributables), lack of the DllRegisterServer export (not a COM server), file blocking/corruption, or insufficient privileges. Check architecture first, run the registration step elevated, and use a dependency tool (Dependency Walker or the modern "Dependencies" viewer) to reveal missing DLLs. If the component is a managed assembly, it won’t register like a native COM DLL — it needs to be exposed to COM by the .NET tooling or by building it with COM visibility.

Answers to ’s points, concisely:

  • To find registered COM servers look for CLSID/ProgID entries in the registry (HKCR\CLSID{...} with InprocServer32 or LocalServer32 pointing at the DLL). On 64‑bit Windows also check the Wow6432Node branch for 32‑bit registrations.
  • The key places are HKEY_CLASSES_ROOT (and HKLM\SOFTWARE\Classes), and SharedDLL info appears under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs.
  • COM DLLs are native and register via exported registration entry points; .NET assemblies are managed and require registration via .NET tools or explicit COM interop configuration.
  • To inspect properties use Explorer file properties plus tools like OLE/COM Object Viewer, Dependency Walker, dumpbin/sigcheck, or IL tools (CorFlags/ILDASM/ILSpy) to tell native vs managed.

Final pointers: avoid downloading individual DLLs from random sites (security risk); prefer reinstalling the package that supplies the control. If automation is needed, use the appropriate tool for the DLL type and the correct system folder/tool for 32/64 bit.

Recommended Answers

All 14 Replies

You can use this link to find any missing dll files

Was looking for this info and ending up finding the following file that does this for you.

I didn't make it credits are included in file. Fine Job!! Hope they don't mind.

I wanted to register the winsck.ocx using regsvr32 command, but I'm getting the error always that "Load Library failed..". Can anyone help me?
Thanks in advance.

when registering the dll's use the following command

regsvr32.exe /s dll name


also make sure you are in the directory where the dll is and needs to be registered.

I downloaded the register.zip file and is working fine. Thank you

Looks interesting :)

Welcome to the site my friend!

sorry i'm dutch
i'm looking for dxtmeta2.dll and dxtmsft3.dll
bud i have vista and this dondt wandt to register this dll

What happens if you register it?? (Does vista then stop it from running?)

Good luck!

hi
no vista give me a error
selected file could not loaded into memory

My questions:-----

1) How to find Registred dll files?
2 )Where these files are located in Registry?
3) What difference between COM dll and .NET dll files and how to find that registred dll differently?
4) How to find properies of dll files(registred) ?

Please anyone give answers of these que.s.

Thanks in Advance....................:S

Plzzzzzz.............
Help me.........
for above que....s..........???????????????
:-/

Has anyone seen an error registering setupdll\setupdll.cpp? I can't seem to find anything on Google search. I also do not have a setupdll.cpp on my computer

hi i have compiled my dotnet code into a dll on windows 2003 std edition with vs2005.

Tired to register the dll on windows 2003 R2 std edition, but it fails and gives me an error saying "Microsoft.Office.IntropServices" cannot register the dll.

anyone provding me inputs how to resolve this.

"there is of course a way to put settings in your registry that will allow you to right-click on a dll or ocx file and then click Register or Unregister from the context menu. However, for those of you who don't like messing with your registry (or don't know how), here's a simpler way to register/unregister:"


No need to fiddle with your registry. Just open up Notepad, copy/paste the follow text to a new document, and save that document as a .reg file (eg DLL.REG). Make sure it does not have a .txt extension (eg DLL.REG.TXT). Then all you have to do is double-dlick on the .reg file to import it to your registry. Done. Right-click on any DLL or OCX file, and you should see the two added options, REGISTER and UNREGISTER. More elegant than using the SEND TO menu.

REGEDIT4

[HKEY_CLASSES_ROOT\dllfile\shell]

[HKEY_CLASSES_ROOT\dllfile\shell\Register]

[HKEY_CLASSES_ROOT\dllfile\shell\Register\command]
@=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c,72,\
  65,67,73,76,72,33,32,2e,65,78,65,20,22,25,31,22,00

[HKEY_CLASSES_ROOT\dllfile\shell\Unregister]

[HKEY_CLASSES_ROOT\dllfile\shell\Unregister\command]
@=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c,72,\
  65,67,73,76,72,33,32,2e,65,78,65,20,2f,75,20,22,25,31,22,00

[HKEY_CLASSES_ROOT\ocxfile\shell]

[HKEY_CLASSES_ROOT\ocxfile\shell\Register]

[HKEY_CLASSES_ROOT\ocxfile\shell\Register\command]
@=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c,72,\
  65,67,73,76,72,33,32,2e,65,78,65,20,22,25,31,22,00

[HKEY_CLASSES_ROOT\ocxfile\shell\Unregister]

[HKEY_CLASSES_ROOT\ocxfile\shell\Unregister\command]
@=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c,72,\
  65,67,73,76,72,33,32,2e,65,78,65,20,2f,75,20,22,25,31,22,00
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.