-
January 27th, 2000, 05:29 PM
#1
CreateFile function failed with Mapped drive
I use CreateFile function to check valid path of a text file saved in another PC (this file has been already mapped to my PC) like this:
HANDLE hFile;
hFile = CreateFile(strFile,GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);
Sometimes,the hFile variable return INVALID_HANDLE_VALUE but then I open this text file again in Window Explorer,this function run well.
Please help!
Thanks
hFile
-
August 3rd, 2009, 02:21 PM
#2
Re: CreateFile function failed with Mapped drive
Any idea?
I have the same problem trying to open a file from my mapped drive path
Y:\terrain\dted\DTED2\dted\W118\N32.dt2
Y is mapped to a network path
I found it is case sensitive. Is it true?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|