I'm trying to use it with c# managed code but I get some errors and don't
know what to do whit them since my c++ knowlegde is very limited and it's
the first time I'm using managed code
TCHAR lpszNameBuf = csTemp.GetBuffer(ttRecord.uStringLength + 1);
error: e:\#new\xd045\xd045.h(95): error C2440: 'initializing' : cannot
convert from 'ATL::CSimpleStringT<BaseType>:

XSTR' to 'TCHAR' with [
BaseType=TCHAR ]
ZeroMemory(lpszNameBuf, ttRecord.uStringLength + 1);
error: e:\#new\xd045\xd045.h(96): error C2664: 'memset' : cannot convert
parameter 1 from 'TCHAR' to 'void *'
f.Read(lpszNameBuf, ttRecord.uStringLength);
error: e:\#new\xd045\xd045.h(97): error C2664: 'CFile::Read' : cannot
convert parameter 1 from 'TCHAR' to 'void *'