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.
Current and Following EPG
Moderators:X05, Dreamer, FredB
-
- Not too shy to talk
- Posts:13
- Joined:Thu Aug 16, 2007 10:03 am
You can encapsulate the SendMessage functions in a Timer procedure.
ie :
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
-----------------------------------------------------------------------
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
-
- Not too shy to talk
- Posts:13
- Joined:Thu Aug 16, 2007 10:03 am
Return to “Module / Plugin Programming”
Who is online
Users browsing this forum: No registered users and 1 guest