Thursday, October 25, 2007

Some Constants doesn’t work at VC++ 6.0.

Solution:

// For Visual C++ 6.0 Compatible and also Upper Version

#ifndef VK_OEM_MINUS

#define VK_OEM_MINUS 0xBD // '-' any country

#endif

#ifndef VK_OEM_PERIOD

#define VK_OEM_PERIOD 0xBE // '.' any country

#endif

#ifndef IDC_HAND

#define IDC_HAND MAKEINTRESOURCE(32649)

#endif

No comments: