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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 EnumTIFFIm with fmShareDenyWrite

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
lzehnder Posted - Jul 20 2012 : 00:41:52
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
1   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Jul 20 2012 : 12:57:26
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.