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
 purpose of TIEFileFormatInfo.TryFunction?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

davenovo

USA
26 Posts

Posted - Jan 24 2014 :  14:00:52  Show Profile  Reply
Hello,

I have registered a custom reading format via IEFileFormatADD. It works great. The only thing is that you have to register a tryFunction. The documentation does not indicate when that is used. When loading a file with my extension, it does not seem that this function is ever called.

xequte

39061 Posts

Posted - Jan 25 2014 :  12:22:34  Show Profile  Reply
Hi

It is used when ImageEn needs to detect a file format without using the file extension.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

davenovo

USA
26 Posts

Posted - Jan 25 2014 :  15:04:19  Show Profile  Reply
Hi Nigel,

If you could include this in the documentation, and also include whether the stream needs to be returned to its initial position, that would be a big help.
Go to Top of Page

xequte

39061 Posts

Posted - Jan 28 2014 :  00:47:26  Show Profile  Reply
Hi Dave

Yes, I will add that in the next update.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: