48 |
#include "wptCardEdit.h" |
#include "wptCardEdit.h" |
49 |
|
|
50 |
|
|
|
/* KLUDGE: for no-hooking */ |
|
|
extern int disable_hook; |
|
|
|
|
|
|
|
51 |
int update_keycache (HWND hwnd); |
int update_keycache (HWND hwnd); |
52 |
|
|
53 |
/* Command for the Key Manager dialog. (0=no command) */ |
/* Command for the Key Manager dialog. (0=no command) */ |
333 |
if (rc) |
if (rc) |
334 |
msg_box (hwnd, hotkeys_strerror (), winpt_strerror (rc), MB_ERR); |
msg_box (hwnd, hotkeys_strerror (), winpt_strerror (rc), MB_ERR); |
335 |
} |
} |
336 |
if (!disable_hook) { |
rc = PTD_initialize (); |
337 |
rc = PTD_initialize (); |
if (!rc) |
338 |
if (!rc) |
msg_box (hwnd, _("Could not set current window mode hooks."), _("WinPT Error"), MB_OK); |
|
msg_box (hwnd, _("Could not set current window mode hooks."), _("WinPT Error"), MB_OK); |
|
|
} |
|
339 |
mapi_init (); |
mapi_init (); |
340 |
init_common_controls (); |
init_common_controls (); |
341 |
LoadLibrary ("RichEd32.Dll"); |
LoadLibrary ("RichEd32.Dll"); |