Register proxy server at HKEY_CURRENT_USER

The MIDL compiler generates proxy / stub code with registration procedures, which are recorded in HKEY_LOCAL_MACHINE. Is there any way (preferably without cracking the code created using MIDL, and without going around all this generated code in favor of the user code) to register the generated MIDL p / s in HKEY_CURRENT_USER?

Also: Will it work if both p / s and COM server are registered as a user? I just discovered (after a very frustrating 48 hours) that the whole registered p / s machine will not work correctly if the COM server is registered for each user. In particular, the logic of the asynchronous call (ICallFactory :: CreateCall) from p / s will not be executed in these circumstances.

+2
source share

All Articles