ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 EnumTIFFIm with fmShareDenyWrite
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

lzehnder

France
14 Posts

Posted - Jul 20 2012 :  00:41:52  Show Profile  Reply
Hello,

I need to use EnumTIFFIm or LoadFromFile just for visualisation (no modification).
But if the file is open by a other application in write mode is not possible.

I have made a change in imageenio.pas for change fmShareDenyWrite by a fmShareDenyNone.

there is a better solution ?

Thank you

fab

1310 Posts

Posted - Jul 20 2012 :  12:57:26  Show Profile  Reply
Hello,
it is necessary that other applications do not modify the file while ImageEn reads it: this is the reason of fmShareDenyWrite. Anyway after the image has been loaded the file is closed, allowing other applications to modify it.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: