hello,
Am getting the below error while compiling my project.
error C2440: 'initializing' : cannot convert from 'struct __POSITION *' to 'class CPtrList &'
A reference that is not to 'const' cannot be bound to a non-lvalue
This is the snippet of code where the error happens. Tell me what change i have to make in this line to make it error free...
{
......
......
CPtrList& templateList = AfxGetApp()->GetFirstDocTemplatePosition();
.....
.....
.....
}Am doing migration from 16 bit code to 32 bit... help me to solve the issue...