Find Jobs
Hire Freelancers

Delphi: Save a registry key to .reg file

$100-250 USD

Dibatalkan
Dibuat hampir 11 tahun yang lalu

$100-250 USD

Dibayar ketika dikirim
Develop in Delphi 2010 (or compatible), the following two functions: Function ExportRegistryKey(const Root : HKEY; const Key: String; var Output : TStringList; const QuitOnError : Boolean = True) : Integer; Function ExportRegistryEntry(const Root : HKEY; const Key: String; const EntryName : String; var Output : TStringList) : Integer; ExportRegistryKey saves the contents of the given registry key, including any possible sub-keys, to the given Output StringList in a format of a Windows .reg file. If QuitOnError = False, the function saves all the possible data to the Output list, ignoring any possible errors that occur while iterating and reading the registry. ExportRegistryEntry saves the name and value of the given registry entry to the given Output stringlist using the Windows .reg file format. The functions must be implemented using Windows API (you are not allowed to use the TRegistry or the Registry unit of Delphi), and must support the saving of all the known registry data types. If you need to write any helper functions, feel free to do so. In a case of error, the functions must return an error code. If the function runs without any error, it must return 0. The functions can assume that given Output Stringlist exists and that it already contains the necessary header information of the .reg file. However, the functions must not assume that the given Output Stringlist is empty. It may (or may not) contain data added there by previous ExportRegistryKey/Entry function calls. You can use Windows [login to view URL]'s File > Export feature for examples how .reg files are generated. If QuitOnError is True, the function quits in a case of error in reading the data. If one would call e.g. ExportRegistryKey on registry key "hkey_local_machine\software\foobar\" and use RegEdit's File > Export ... feature on the same key, the resulting .reg file's content should match the Output StringList generated by the ExportRegistryKey call.
ID Proyek: 4444826

Tentang proyek

2 proposal
Proyek remot
Aktif 11 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
2 freelancer menawar dengan rata-rata $130 USD untuk pekerjaan ini
Avatar Pengguna
I'm a Delphi expert, and can do this project easily.
$110 USD dalam 5 hari
4,9 (41 ulasan)
6,2
6,2
Avatar Pengguna
Hi! I can make it! I've done a similar project and ready to provide demo.
$150 USD dalam 3 hari
5,0 (15 ulasan)
4,7
4,7

Tentang klien

Bendera THAILAND
Turku, Thailand
5,0
591
Memverifikasi Metode pembayaran
Anggota sejak Mar 16, 2011

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.