GoodMorning, I've a question about the RegCreateKey in Visual studio in windows 10. I try to create a new key registry. The code is compiled successfully, but no new key is generated. I follow some forum online without any success. Can I ask some help to solve the problems? I write here the code:
RegCreateKey function
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724842(v=vs.85).aspx
Note This function is provided only for compatibility with 16-bit versions of Windows. Applications should use the RegCreateKeyEx function. However, applications that back up or restore system state including system files and registry hives should use the Volume Shadow Copy Service instead of the registry functions.
RegCreateKeyEx function
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724844(v=vs.85).aspx
Thank you very very much for the answer. I tried to use that function but I have some problems to understand with parameter use. Maybe, if I'm not impolite, can I ask you if you have an example where you use that function?