Fix Windows Errors by Re-registering All Your DLL's by Britec

Fix Windows Errors by Re-registering All Your DLL’s by Britec

The instructions basically get you to dump all DLL files into notepad, then do a find and replace to regsvr32 them all. if you do it from c: like it suggests, you might get more than you need. including dll files from the recycle bin.

I am going to assume your windows installation is on C: and in C: windows

When a DLL is registered, the DllRegisterServer method entry point in your program is invoked. Similarly, DllUnregisterServer is invoked when a DLL is unregistered. As described in this MSDN article:

Instructs an in-process server to create its registry entries for all classes supported in this server module. If this function fails, the state of the registry for all its classes is indeterminate.

For COM DLLs, you will need to implement your own DllRegisterServer and DllUnregisterServer entry point methods which do the registering/unregistering as appropriate. Example code for DllRegisterServer can be found here.

The end result of registering a DLL is that all of the CLSIDs for the components in the DLL are registered under HKEY_CLASSES_ROOTCLSID. This allows CoCreateInstance to find the correct server when instantiating COM objects from another DLL or application.

DllUnregisterServer will do the reverse, and remove all of the CLSIDs from the registry that were put in there by DllRegisterServer. more can be found here
need help with your computer?


Xem thêm bài viết khác:

21 thoughts on “Fix Windows Errors by Re-registering All Your DLL's by Britec”

  1. 5:05 You didn't mention at any point what to do in particular with it when having found it! 'There's another one you need to do…' To do what?! And no, it's not self-explanatory. I'd never delete anything on my system when not absolutely sure that it's safe to delete it e.g. for it doesn't belong to the OS. So, how can a user be sure what to do with the 'patchcache' entry?!

  2. I know this video is several years old, but I have an urgent question. I ran re-regdll.bat and it was working perfecly at first, but then it froze, and I waited an entire night and it still didn't close. If anyone knows how to fix this issue, please reply to this comment

  3. entry point_CxxFrameHandler3 could not be located in the dynamic link library msvcrt.dll please help me bro

  4. i will poop in this …i cant fix it..i have repeted dll errors and i try EVERYTHING ima so stuipd or IDK…but i cant FIX IT -__-

  5. Thanks Brian watching your video's is an absolute big help, and Yes I thoroughly enjoyed them, look forward and will watch out for other videos you put out.


Leave a Comment