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
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! + _
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.
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! + _
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.