下载了一个程序,基于vc5.0的,网址在
http://codeguru.earthweb.com/Cpp/W-P/printing/article.php/c2937 
结果运行出现错误,错误地点在
CRulerBar的Create函数里面
BOOL CRulerBar::Create(CWnd* pParentWnd, DWORD dwStyle, UINT nID)
{
ASSERT_VALID(pParentWnd);   // must have a parent dwStyle |= WS_CLIPSIBLINGS;
// force WS_CLIPSIBLINGS (avoids SetWindowPos bugs)
m_dwStyle = (UINT)dwStyle; // create the HWND
CRect rect;
rect.SetRectEmpty();
LPCTSTR lpszClass = AfxRegisterWndClass(0, ::LoadCursor(NULL, IDC_ARROW),
(HBRUSH)(COLOR_BTNFACE+1), NULL); /*==》错误发生处*/if (!CWnd::Create(lpszClass, NULL, dwStyle, rect, pParentWnd, nID))
return FALSE;
// NOTE: Parent must resize itself for control bar to be resized  return TRUE;
}
不知道怎么解决这个问题,我实在6.0环境下运行的