Menu

#1 Overflow error reading certain images

open
nobody
None
5
2002-11-08
2002-11-08
Anonymous
No

When reading images from Kodak DC240 camera or
Sony DC-TRV20 video camera an overflow error occurs.

Example file attached.

Nick Miles
nick@databasedevelopments.com

Discussion

  • Nobody/Anonymous

    Logged In: NO

    The problem:

    The problem is in line 478:
    In some images, type "Long" (&) is not big enough.
    I changed it to "Single" (!). Now it seems to work.

    Old version:
    ExifTemp(Offset_to_TIFF + .Offset_To_Value + 3) * 256& *
    256& * 256& + _

    New version:
    ExifTemp(Offset_to_TIFF + .Offset_To_Value + 3) * 256! *
    256! * 256! + _

     
  • enet

    enet - 2005-04-12

    Logged In: YES
    user_id=1257453

    Yes, it also solved my overflow error

    Use:

    ExifTemp(Offset_to_TIFF + .Offset_To_Value + 3) * 256! *
    256! * 256! + _

    instead

    ExifTemp(Offset_to_TIFF + .Offset_To_Value + 3) * 256& *
    256& * 256& + _

    But for me, the line nuber was 472.

     

Log in to post a comment.