Robert Collins wrote:
Max Bowsher wrote:
Also, I think LPCTSTR should be LPCSTR ? (and also in the CreateFile case)
Not according to MSDN.
Can you give a link to the bit you are looking at?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/unicode_9i79.asp seems to support my suggestion.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/createfile.asp
Look at the grey box :}.
Rob
