Problems with ReadFile() and WriteFile() when Documents folder is mapped to a network drive

  • Thread starter Thread starter BillApp2
  • Start date Start date
B

BillApp2

Guest
My application works fine on the local Documents folder. And usually works fine when the Documents folder has been mapped to a network drive. But sometimes, when the Documents folder has been mapped, ReadFile() and/or WriteFile() will fail. For example, ReadFile() will read corrupted data.

Is there a better way to read and write files to network drives? Is there a best practice? Or some better APIs to use?

Continue reading...
 
Back
Top