Article ID: 116299
Article Last Modified on 11/21/2006
typedef const unsigned char FAR * LPCTSTR;Place the definition of the LPCSTR type in the file DCPREV.CPP at global scope before the definition of the function "CPreviewDC::ComputeDeltas()". The LPCTSTR type is already defined in the 32-bit version of the MFC library (supplied with Visual C++ for Windows NT, version 1.0) and does not need to be defined in DCPREV.CPP with that version of the MFC library.
LPCTSTR lpszCurChar = (LPCTSTR)lpszString;
LPCTSTR lpszStartRun = (LPCTSTR)lpszString;
CSize sizeExtent = ::GetTextExtent(m_hAttribDC,(LPCSTR)lpszStartRun,
nRunLength);
LPCTSTR lpszCurChar = lpszString;
LPCTSTR lpszStartRun = lpszString;
Additional query words: international foreign extended umlaut 1.00 1.50 2.00 2.10 2.50 kbNoUpdate
Keywords: kbbug kbfix kbprint KB116299