A MIDL-generated proxy-stub DLL includes an implementation of DllUnregisterServer that attempts to clean up the registry entries for all interfaces supported by the DLL. If one of these interfaces is using OleAut32.dll as the proxy-stub, OleAut32.dll will be unregistered when the proxy-stub DLL is unregistered.
Following is an example of a .reg file that would register the PSOAInterface CLSID key and InprocServer32 subkey:
Next, re-register OleAut32.dll by using the following command:
This problem was corrected in WindowsNT 4.0 Service Pack 4 , dcom95 1.2 and Windows 2000.
This can occur when a component DLL contains both a type library and a MIDL- generated proxy-stub. When the type library is registered, OleAut32.dll is used as the proxy-stub dll for those interfaces in the type library.
ID do Artigo: 185599 - Última Revisão: 03/10/2003 - Revisão: 1