Am Mittwoch, den 20.08.2008, 19:55 +0200 schrieb Alexander Nicolaysen Sørnes:
const WCHAR empty = 0;
PrintRegistryHive(hWnd, empty);
to send an empty string?
It is. This sends a NULL pointer (empty is 0, converted to a pointer is a NULL pointer). You mean "&empty".
Regards, Michael Karcher