mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
Win64 adjustments.
This commit is contained in:
parent
8ab73b4f61
commit
f68e287a0b
@ -569,7 +569,7 @@ BOOL ValidateUser(HWND hParentWnd)
|
|||||||
else {
|
else {
|
||||||
szSysDbaPasswd[0] = '\0';
|
szSysDbaPasswd[0] = '\0';
|
||||||
return (DialogBox
|
return (DialogBox
|
||||||
((HINSTANCE) GetWindowLong(hParentWnd, GWLP_HINSTANCE),
|
((HINSTANCE) GetWindowLongPtr(hParentWnd, GWLP_HINSTANCE),
|
||||||
MAKEINTRESOURCE(PASSWORD_DLG), hParentWnd,
|
MAKEINTRESOURCE(PASSWORD_DLG), hParentWnd,
|
||||||
(DLGPROC) PasswordDlgProc) > 0);
|
(DLGPROC) PasswordDlgProc) > 0);
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,16 @@ static const char* szWindowName = "Firebird Server"; // Used in iscguard.cpp
|
|||||||
#ifndef GWLP_HINSTANCE
|
#ifndef GWLP_HINSTANCE
|
||||||
#define GWLP_HINSTANCE GWL_HINSTANCE
|
#define GWLP_HINSTANCE GWL_HINSTANCE
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef GCLP_HICON
|
||||||
|
#define GCLP_HICON GCL_HICON
|
||||||
|
#endif
|
||||||
|
#ifndef LONG_PTR
|
||||||
|
#define LONG_PTR long
|
||||||
|
#endif
|
||||||
|
#define GetWindowLongPtr GetWindowLong
|
||||||
|
#define SetWindowLongPtr SetWindowLong
|
||||||
|
#define GetClassLongPtr GetClassLong
|
||||||
|
#define SetClassLongPtr SetClassLong
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // OS_WIN32_WINDOW_H
|
#endif // OS_WIN32_WINDOW_H
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user