I have this:
But it did not work, then I tried this:Code:hExtra=CreateFile("Path.txt", GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); ReadFile(hExtra, Buffer, 100, &dwBytes2, NULL); DeleteFile(Buffer);
But that didn't help either.Code:TCHAR Buffer[100]; hExtra=CreateFile("Path.txt", GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); ReadFile(hExtra, Buffer, 100, &dwBytes2, NULL); DeleteFile(Buffer);
Ken Fitlike helped me on a question very simalar to this before and it used the lstrcmpi function. So I assume this problem would use it too. But I don't know how I should use it. Any help? Thanks in advance.



LinkBack URL
About LinkBacks


