#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <afs/cm.h>
#include <rx/rxkad.h>
BOOL fLogonAuthent = IsDlgButtonChecked (hDlg, IDC_LOGON);
if (fLogonAuthent != g.Configuration.fLogonAuthent)
{
- SetBitLogonOption(fLogonAuthent,LOGON_OPTION_INTEGRATED);
+ SetBitLogonOption(fLogonAuthent,LOGON_OPTION_INTEGRATED);
g.Configuration.fLogonAuthent = fLogonAuthent;
}
- Config_SetTrayIconFlag (IsDlgButtonChecked (hDlg, IDC_TRAYICON));
+ if (GetDlgItem(hDlg, IDC_TRAYICON) != NULL)
+ Config_SetTrayIconFlag (IsDlgButtonChecked(hDlg, IDC_TRAYICON));
if (g.fIsWinNT)
{