开发者

Using regsvr32, do you need to unregister a dll or ocx before registering it again?

开发者 https://www.devze.com 2023-01-02 06:38 出处:网络
Using regsvr32, do you need to unregister a 开发者_Go百科dll or ocx before registering it again?

Using regsvr32, do you need to unregister a 开发者_Go百科dll or ocx before registering it again?

Or will registering it do that anyway?


You need to unregister before re-registering. It's not automatic.


regsvr32 calls an entrypoint (DllRegisterServer) in the DLL to do the registration, so I suppose it could possibly be DLL-dependent. But in general, the registration entrypoint simply updates the information in the registry. So there would be no need to unregister it first. For example, an OLE DB provider I helped write updates the GUID information and path to the DLL during the registration. There is no reason to unregister it in that case.


You don't have to but it might mess you up if you don't...

0

精彩评论

暂无评论...
验证码 换一张
取 消