Currently I am working on a migration project from visual c++ 6.0 to visual studio c++ 2005. And during compilation, I am getting "Undeclared Identifier Error"
code
while(TRUE)
{ sEntry.Format(sActiveMbfs, ixR++);
sProfile=pApp->GetProfileString(pszSection, sEntry, &afxChNil);
if(!sProfile.GetLength())
break;
error
1>c:\xxxx\xxxx\xxxx\xxxx.cpp(887) : error C2065: 'afxChNil' : undeclared identifier
Can anyone help ?
NULL
or the last parameter, or omit it entirely (NULL
is the default for it). – Igor Tandetnik