James Hawkins truiken@gmail.com writes:
What are the steps I need to take to break registry initialisation? I did wonder how anything in the real win32 registry could be created though if you can't create a key directly under HKLM or HKU. If this really does break initialisation, can we implement a different create_key that has little restrictions and would only be used internally, or would this just be scrapped entirely?
I don't think there's any point in replicating that behavior. I doubt there's any such check on Windows either, it's most likely just a side effect of the way the registry files are "mounted" at different places in the tree. Once we have a proper implementation of RegLoadKey/RegUnloadKey we should get the same behavior automatically.