sternocera
asked on
Visual studio 2005 typecast problem with legacy code
I'm trying to get some old visual studio 6 code to compile in visual studio 2005. I'm getting the following compile time error:
"2>c:\documents and settings\user\desktop\xlis tctrl_demo \xlistctrl \xtrace.h( 74) : error C2440: '=' : cannot convert from 'const wchar_t *' to 'LPTSTR' "
This is the offending function:
if (!XTRACE_SHOW_FULLPATH)
{
cp = _tcsrchr(m_file, _T('\\'));
if (cp)
cp++;
}
Please advise
"2>c:\documents and settings\user\desktop\xlis
This is the offending function:
if (!XTRACE_SHOW_FULLPATH)
{
cp = _tcsrchr(m_file, _T('\\'));
if (cp)
cp++;
}
Please advise
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER