To reproduce the bug, simply:
- Go to system32.
- Delete our ole32.dll.
- Copy MS ole32.dll there.
- Open Run dialog by pressing Win + R.
- Type "regsvr32 ole32.dll" and press Enter.
- Click OK in the appeared messagebox to close it.
- Reboot ReactOS.
After this, at the next boot, the system will fail to initializate desktop and will appear an error that NdrCreateServerInterfaceFromStub is missing in our rpcrt4.dll. In MS_ole32.log I see the following:
After exporting that function as "stub", MS ole32 does no longer fail due to our rpcrt4 and lods successfully. Although appears another unrelated explorer crash, so desktop still fails to initializate, but nevertheless the rpcrt4 problem is fixed by adding that stub.
Tested with 0.4.15-dev-138-g855bf46.