How Import (merge) a reg file using delphi?
I have several .reg (Windows registry) files (generated by an external application) that need to merge into the windows registry. Now i'm using the ShellExecuteEx function to call the regedit.exe application, passing the filename as parameter (And works fine), but I'm wondering if exist any WinAPi function or another way to merge that file without call to the regedit.exe application.
I expect that the answer is no. Via the winapi, you'd read the file as a .ini file, and make the appropriate registry modifications accordingly. I would be surprised if regedit.exe does something different than that.