Page 1 of 1

CHL filesize changed ?

Posted: Wed Nov 15, 2006 2:03 pm
by ScanMan
Hi rel !

I'm progging a little bit and using also the CHL-List.
While using the code from the samples to read the list, i got always an error and Acces Violation in DD when using MAX_CHANNELS in the loop.
The reason may be a new filesize/length of CHL-List:
Old size is about 6.8 MB - new size is 4.8 MB.
Did you change anything in the SDK - espacially for DELPHI ?
Please answer a.s.a.p. Thanks !

:( ScanMan

Posted: Wed Nov 15, 2006 3:28 pm
by rel
attached the latest header files with chl structure updates.

Posted: Fri Nov 17, 2006 8:41 am
by ScanMan
Hi rel,

i'm still thinking about the shrinked size of 'CHLIST.CHL'.
SDK (also new 1.7) says, it should be 6.8 MB big/small.
Also Versions before 1.3 shows that size.
New size since V1.3 is only 4 MB.

In the new SDK 1.7 i noticed, you changed the structure of TChlChannel a little bit.
New size is now 773 bytes instead of 872 (?) - so new total size should be 6197466 Bytes total instead of 6989466 bytes (noted in SDK 1.6 - no change in 1.7 !)

Where has the difference of nearly 2 MB gone ?
Is it possible, that a wrong CHLIST.CH causes the error in my NetRemote-Tool when switching the channels with 'P+' and 'P-' (Remote-Command 13 and 14) ?

:roll: ScanMan

Posted: Fri Nov 17, 2006 11:32 am
by rel
sorry, haven't had time to update those texts. I think I will remove comments (struct sizes) from the header files. since you can learn them with help of X05's CHLTools module. ("CHL Info" button)

structure changes: removed unnecessarry CA info and shortened the long text space for channel name & provider names etc

Code: Select all

#define MAX_CA_PIDS 16 //64 -> 16
#define MAX_STR_SIZE 32 //new

Posted: Sat Nov 18, 2006 4:28 am
by ScanMan
Yes i noticed that.
Also yiz added
QuickFav: BYTE; // Neu in 1.7
QuickFav2: BYTE; // Neu in 1.7
at the end of TChlChannel.
But the difference still exists... ?!
:) ScanMan