Monday, March 17, 2008

OIC_SAMPLE, OCR_NORMAL, and other OEM resources

To get rid of errors such as these..

// - error C2065: 'OIC_SAMPLE' : undeclared identifier
// - error C2065: 'OCR_NORMAL' : undeclared identifier

..one may have to #define OEMRESOURCE before #include <windows.h>.

(I am testing Visual C++ 2008 Express Edition.)

0 comments: