|
|
| version 1.1, 2005/04/01 15:35:49 | version 1.4, 2007/01/10 14:43:36 |
|---|---|
| Line 1 | Line 1 |
| #ifdef STRICT | |
| #define SUBCLASSPROC WNDPROC | |
| #else | |
| #define SUBCLASSPROC FARPROC | |
| #endif | |
| // for VC6SDK | |
| #if !defined(_WIN64) | |
| #ifndef LONG_PTR | |
| #define LONG_PTR LONG | |
| #endif | |
| #ifndef GetWindowLongPtr | |
| #define GetWindowLongPtr GetWindowLong | |
| #endif | |
| #ifndef SetWindowLongPtr | |
| #define SetWindowLongPtr SetWindowLong | |
| #endif | |
| #ifndef GWLP_WNDPROC | |
| #define GWLP_WNDPROC GWL_WNDPROC | |
| #endif | |
| #ifndef GWLP_HINSTANCE | |
| #define GWLP_HINSTANCE GWL_HINSTANCE | |
| #endif | |
| #ifndef GWLP_HWNDPARENT | |
| #define GWLP_HWNDPARENT GWL_HWNDPARENT | |
| #endif | |
| #ifndef GWLP_USERDATA | |
| #define GWLP_USERDATA GWL_USERDATA | |
| #endif | |
| #ifndef GWLP_ID | |
| #define GWLP_ID GWL_ID | |
| #endif | |
| #endif | |
| #define LOADSTRING LoadString | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" { | extern "C" { |
| #endif | #endif |
| void __msgbox(const char *title, const char *msg); | void __msgbox(const char *title, const char *msg); |
| int loadstring2(HINSTANCE hInstance, UINT uID, | |
| LPTSTR lpBuffer, int nBufferMax); | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| } | } |