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...
加载中,请稍侯......
精彩评论