I wrote:
Though I notice Windows #defines CreateFile() & co as CreateFileA or CreateFileW depending on whether or not UNICODE is #defined (and some other macros), without even mentioning this in the CreateFile() doc. I suppose ldmb.h could do something similar - but with doc:-)
Whoops, is does document it: Filename parameter is "LPCTSTR". -- Hallvard