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.

Answers


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.


Need Your Help

PHP not recognizing memory_limit changes

php ubuntu laravel-4 laravel-routing memory-limit

I was hoping someone could help me out. I cannot get the memory_limit config setting to work on my PHP laravel install. Even something as simple as php artisan --help gives me a memory exhausted er...

How to get the total sum of all the 2nd fields with delimiter?

c++

I want to write code for getting the 2nd field of the entire text file and adding the total value of all the 2nd fields which are in numbers that may have decimal places. E.g of input file

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.