DllSurrogate problem with Win XP
-
I have a COM dll that is registered in HKEY_CURRENT_USER\Software\Classes. It have the correct entries for creating it in the system provided DllSurrogate. ( Eg. DllHost.exe ) Creating an instance of it using Windows 2000 successfully launches DllHost.exe and creates the instance. Trying the same with WinXP fails with "Class not registered". ( If i register the COM dll under HKEY_LOCAL_MACHINE it works with XP to. ) The creation under XP goes through svchost.exe ( running as system ), it will find the registry keys registered under HKEY_CURRENT_USER but it will also try to find them under HKEY_CLASSES_ROOT and fail. ( Probably one call is done whilst impersonating and one not. ) For short, what needs to be done to successfully host a COM dll registered under HKEY_CURRENT_USER in DllHost.exe under windows XP? /Magnus
- I don't necessarily agree with everything I say