Current and Following EPG

Module API help / support section for programmers.

Moderators: Dreamer, FredB, X05

yeyotheiron
Not too shy to talk
Posts: 13
Joined: Thu Aug 16, 2007 10:03 am

Current and Following EPG

Postby yeyotheiron » Mon Oct 01, 2007 8:47 am

var
AEpgInfo: TEPGInfo;

begin

SendMessage(DDHwnd,
WM_MODULE_MSG,
DMODAPI_GET_EPG_CURRENT,
Integer(@AEpgInfo)
);

Why AEpgInfo is nil here...

SendMessage(DDHwnd,
WM_MODULE_MSG,
DMODAPI_GET_EPG_FOLLOWING,
Integer(@AEpgInfo)
);

and here...

Please, howto get Current and Following EPG...

Thanks, excuse my English.

User avatar
FredB
love DVB Dream!
Posts: 315
Joined: Fri Jun 16, 2006 1:19 pm
Location: France
Contact:

Postby FredB » Mon Oct 01, 2007 1:01 pm

You can encapsulate the SendMessage functions in a Timer procedure.

ie :

Code: Select all


var
Timer1:Integer; //TTimer;
....

....

Timer1:=SetTimer(0,0,1000,@Timer1Timer);

....

procedure Timer1Timer (Hw: LongWord; Msg:LongWord;
idEvent:LongWord; dwWord:LongWord); StdCall;)

//Current EPG
SendMessage(DDHwnd, WM_MODULE_MSG, DDMODAPI_GET_EPG_CURRENT, Integer(@AEpgInfo));

//Following EPG
SendMessage(DDHwnd, WM_MODULE_MSG, DDMODAPI_GET_EPG_FOLLOWING , Integer(@AEpgInfo));

...
Forum PCTVSat : http://pctvsat.free.fr
-----------------------------------------------------------------------
Pinnacle PCTV Sat + Terratec Cinergy 1200 DVB-S / Athlon 64 3500+ - 2048 Mb DDR - GeForce 7900 GS
Twinhan Vision Plus 1030A + Asus Europa II Hybrid / PIV D920 2x2.8 Ghz - 2048 Mb DDR2 - GeForce 7600 GS
PCTV Sat Pro PCI (PCTV 450i) + DVICO Fusion HDTV USB / Athlon XP 3200+ - 1024 Mb DDR - GeForce 6600GT
-----------------------------------------------------------------------
Collective installation with 2 LNB Quad and multiswitches DiseqC - LNB A = Astra 19.2°E - LNB B = Hotbird 13.0°E - Commutation = 13V/18V/22K + DiseqC 2.0
yeyotheiron
Not too shy to talk
Posts: 13
Joined: Thu Aug 16, 2007 10:03 am

Postby yeyotheiron » Fri Oct 05, 2007 8:41 am

Thanks...

Return to “Module / Plugin Programming”

Who is online

Users browsing this forum: No registered users and 1 guest