Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

FindFirst and FindNext not working on removable disk

FindFirst and FindNext not working on removable disk

FindFirst and FindNext not working on removable disk

Hello guys,

I have written a program that can retrieve jpeg pictures from a source(camera, disk) and export these to the hard-drive and then grouping the pictures in sub-folders using the EXIF information in the jpeg like "date taken" to get a nice organized bunch of pictures.

The problem I am facing now is that it is not able to retrieve pictures from a removable disk. I attached my Casio EX-Z1080 digital camera which shows up under XP as drive "F:\". I can also browse the disk using the Windows explorer.

In my program I use the procedures "FindFirst" and "FindNext" but the application generates an exception "I/O Error 103". On a non-removable disk everything works fine. Any ideas what could be the problem ? Has it something to do with FAT/NTFS ?
And what API should I use instead ?

I am using Delphi7 Enterpise on a Windows XP Media Center 2005 edition PC.



RE: FindFirst and FindNext not working on removable disk

Forget it. I solved it.
I changed the project options. The "Optimization" checkbox was turned on and this was causing the problem. Turned it off and now it is working perfectly.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close