>Sorry posted in German before.... the bad side of cut and paste :-(
>I am looking for a method to read and write the Win-Registry.
>I tried using WriteProfileString(...) but had no success.
>Is there anybody having a fragment of code to show me how to manage that
WriteProfileString and the rest of that family write to a *.ini file,
not the registry.
In MFC, call CWinApp::SetRegistryKey(..) before calling
CWinApp::WriteProfileString(). It causes CWinApp:: WriteProfileString
to write to the registry instead of a *.ini file.
In the Win32 API, you'd use the Reg... functions (RegCreate...,
RegDelete..., RegEnum..., RegClose, RegOpen, RegQuery..._