hello, the following is the code i use to create a file handle:
like all bugs, it works on my machine and my test environment, but doesn't work at the customer's site. GetLastError() is telling me that the handle is invalid. what are some things to look for in troubleshooting this error?Code:::CreateFile(filepath, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
thanks.