Bob
2008-11-14 21:21:23 UTC
Ive only done a little compiling in VS 2003 with wxWidgets. Im trying
to compile
source code that was developed under VS6.0 under VS 2003 and Im
getting the
following error:
error C2663: 'ATL::CSimpleStringT<BaseType>::GetBuffer' : 2 overloads
have no legal conversion for 'this' pointer
with
[
BaseType=TCHAR
]
from this line:
ReadLog(logFiles.GetAt(0).GetBuffer(0));
where logFiles is a CStringArray
Can anyone help me fix this properly and get it to compile properly?
I looked at it but cant figure it out.
Thanks in advance
to compile
source code that was developed under VS6.0 under VS 2003 and Im
getting the
following error:
error C2663: 'ATL::CSimpleStringT<BaseType>::GetBuffer' : 2 overloads
have no legal conversion for 'this' pointer
with
[
BaseType=TCHAR
]
from this line:
ReadLog(logFiles.GetAt(0).GetBuffer(0));
where logFiles is a CStringArray
Can anyone help me fix this properly and get it to compile properly?
I looked at it but cant figure it out.
Thanks in advance