CHL filesize changed ?

Module API help / support section for programmers.

Moderators: Dreamer, FredB, X05

User avatar
ScanMan
love DVB Dream!
Posts: 191
Joined: Fri Sep 08, 2006 4:52 am
Location: 49565 Germany

CHL filesize changed ?

Postby ScanMan » Wed Nov 15, 2006 2:03 pm

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

.
Visit the german DD-Forum: www.dvbdream.de
_________________________________________
90cm Dish on Rotor STAB HH 120 / Uni-LNB + 90cm Dish / Dual-Quad-LNB to 9/8 MultiSwitch for 23.5°E/19.2°E --- SkyStar 2, SkyStar USB-Box plus, TwinHan 1041 S2, Technotrend S-3200 S2, DVBWorld S2, Terratec Cinergy T USB XE --- a few PCs with AMD-CPU/ASUS-Boards from Athlon-2400+ to 64 X2 5600+, 1-2GB RAM, totally up to 2 TB HardDisk, nVidia Graphics. All using XP-Professional - everytime up2date
User avatar
rel
relocation
Posts: 2051
Joined: Fri Jun 16, 2006 9:50 am

Postby rel » Wed Nov 15, 2006 3:28 pm

attached the latest header files with chl structure updates.
Attachments
Include.rar
(21.55 KiB) Downloaded 350 times
DVB Dream - because I have to dream about having time to code it
User avatar
ScanMan
love DVB Dream!
Posts: 191
Joined: Fri Sep 08, 2006 4:52 am
Location: 49565 Germany

Postby ScanMan » Fri Nov 17, 2006 8:41 am

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
.
Visit the german DD-Forum: www.dvbdream.de
_________________________________________
90cm Dish on Rotor STAB HH 120 / Uni-LNB + 90cm Dish / Dual-Quad-LNB to 9/8 MultiSwitch for 23.5°E/19.2°E --- SkyStar 2, SkyStar USB-Box plus, TwinHan 1041 S2, Technotrend S-3200 S2, DVBWorld S2, Terratec Cinergy T USB XE --- a few PCs with AMD-CPU/ASUS-Boards from Athlon-2400+ to 64 X2 5600+, 1-2GB RAM, totally up to 2 TB HardDisk, nVidia Graphics. All using XP-Professional - everytime up2date
User avatar
rel
relocation
Posts: 2051
Joined: Fri Jun 16, 2006 9:50 am

Postby rel » Fri Nov 17, 2006 11:32 am

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
DVB Dream - because I have to dream about having time to code it
User avatar
ScanMan
love DVB Dream!
Posts: 191
Joined: Fri Sep 08, 2006 4:52 am
Location: 49565 Germany

Postby ScanMan » Sat Nov 18, 2006 4:28 am

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
.
Visit the german DD-Forum: www.dvbdream.de
_________________________________________
90cm Dish on Rotor STAB HH 120 / Uni-LNB + 90cm Dish / Dual-Quad-LNB to 9/8 MultiSwitch for 23.5°E/19.2°E --- SkyStar 2, SkyStar USB-Box plus, TwinHan 1041 S2, Technotrend S-3200 S2, DVBWorld S2, Terratec Cinergy T USB XE --- a few PCs with AMD-CPU/ASUS-Boards from Athlon-2400+ to 64 X2 5600+, 1-2GB RAM, totally up to 2 TB HardDisk, nVidia Graphics. All using XP-Professional - everytime up2date

Return to “Module / Plugin Programming”

Who is online

Users browsing this forum: No registered users and 1 guest