UNICODE is the default setting on both msvc 2k3 and 2k5 (what means RegOpenKeyEx expands to RegOpenKeyExW).
Explicitly switch to ANSI versions of WINAPI functions, e.g. RegOpenKeyEx->RegOpenKeyExA.
We use the approach with ANSI functions in kdesupport/kdewin32 too.
It is safe to use ANSI functions as the args are already char*.
Should be applied upstream, too.
CCMAIL:gpg4win-devel@wald.intevation.org
svn path=/trunk/KDE/kdepim/kleopatra/; revision=780519