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
 Custom fileformat BCB C++

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
quantuz Posted - Jul 12 2012 : 06:37:22
Hi!

I cant get my own fits fileformat to work when running BCB 6, it have worked in the past
I removed the IEAddExtIOPlugin("imagemagick.dll"); so it should not interfer
Code as follows in Formcreate method, but no fits option in the load dialogue whats the problem?
The fits.pas file is constructed like the unc.pas file
Running BCB 6 and IE 3.1.1

TIEFileFormatInfo * FileFormatInfo = new TIEFileFormatInfo();
FileFormatInfo->FileType=1008; // ioFITS;
FileFormatInfo->FullName="FITS Flexible Image Trans.System";
FileFormatInfo->Extensions="fit;fits;fts";
FileFormatInfo->InternalFormat=false;
FileFormatInfo->DialogPage=FileFormatInfo->DialogPage >> ppALL;
FileFormatInfo->ReadFunction=ReadFITS;
FileFormatInfo->WriteFunction=WriteFITS;
FileFormatInfo->TryFunction=TryFITS;
IEFileFormatAdd(FileFormatInfo);

Regards,
//Christer
2   L A T E S T    R E P L I E S    (Newest First)
quantuz Posted - Jul 15 2012 : 17:22:23
Hi Nigel!

It works now! I found the problem, I deleted the FileFormatInfo to quick, should wait for form close event..
Also have to make a new FileFormatInfo for each format to add..

Regards,
//Christer
xequte Posted - Jul 13 2012 : 02:39:48
Hi Christer

So this code is in the create event for your main form?

Also can you check that AutoSetFilter property of the open dialog is set to true.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com