Mixing Strings and CStrings
Posted on 2006-11-13
I am mixing and matching various pieces of code I have found on the internet and or or purchased.
One of these pieces is a socket server written as a console app (off of codeproject). This code uses "string" almost exclusively.
I am incorporating into this code another set of classes which came out of a dialog based application and uses "CString" extensively.
When I attempt to compile the resulting code, I get the following compiler error:
"error C2061:syntax error : identifier 'CString'.
Clearly the compiler does not recognise CString.
Do I need a 'using' statement? Or how do I fix this?
Code example please.