- HKEY tmpKey;
- m_dwLastError = RegOpenKeyEx((HKEY) m_hRootKey, m_strKey,
- 0, 0, &tmpKey);
- if ( m_dwLastError != ERROR_SUCCESS ) {
- wxLogSysError(m_dwLastError, _("Can't open registry key '%s'"),
- GetName().c_str());
- return FALSE;
- }
- else
- {