I want to solve the prob having no remote possibilities on the client while streaming from DD on my server to e.g. VLC. on my notebook.
Therefore i programmed 2 little tools: A simple remote (all 47 keys) control working on the client as a stand-alone application and a little modul for DD to receive the rc-commands.
All keys will reflected by DD - except those 3:
RMT_OK = $00000011 is not responsed by DD
RMT_DOWN = $0000000E and RMT_UP = $0000000D rults in an ERROR !
What a pitty - the most urgent keys...
An other idea was to transfer the channel-list to the rc`for having a better programm-selection on the client. I did it like describe in the sample (for DELPHI).
When i install DD new (1.3 and 1.3a), copy my mod to the mod-dir, DD starts without any negative comment.
But when channels are scanned new, i got a little error window 'Out of memory'. The same, when i restart DD.
I'm using the newest SDK 1.7 and progging is DELPHI 6.
@rel
Is it neccessary to send you my 2 little tools to see whats happening in DD ?
Probs while programming a new DD Network remote control
Moderators:X05, Dreamer, FredB
.
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
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
what response do you expect? OK button is not assigned to any feature. There is no OSD channel list yet.RMT_OK = $00000011 is not responsed by DD
what does error say?RMT_DOWN = $0000000E and RMT_UP = $0000000D rults in an ERROR !
yes, rreloc at yahoo.com , send with source, so I can point it out where the problem is.Is it neccessary to send you my 2 little tools to see whats happening in DD ?
DVB Dream - because I have to dream about having time to code it
You have mail !
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
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
Code: Select all
function OnDDEvent(EventType: DWORD; EventParams: PWndMessage): BOOL; stdcall; export;
Type of EventParams parameter was wrong. It is not a window message, just a untyped parameter ('pointer' type is used in the SDK samples) You must typecast it according the EVENT code sent by DD . (in 'case' block)
Here is the fixed routine:
Code: Select all
function OnDDEvent(EventType: DWORD; EventParams: Pointer): BOOL; stdcall; export;
var
S : string;
begin
case EventType of
DDEVENT_ON_VOLUME_CHANGE : // Pointer to integer
begin
S := 'VOL ' + inttostr(PInteger(EventParams)^);
fmain.ListLastCMD(S);
end;
DDEVENT_ON_KEYBOARD : // Pointer to integer
begin
fmain.ListLastCMD('KEY ' + inttostr(PInteger(EventParams)^));
end;
DDEVENT_ON_REMOTE : // Pointer to integer
begin
fmain.ListLastCMD('REM ' + inttostr(PInteger(EventParams)^));
end;
DDEVENT_ON_WINDOW_NOTIFICATION_MSG : // Pointer to TWndMessage structure
begin
fmain.ListLastCMD('WNM ' + inttostr(PWndMessage(EventParams)^.Msg));
end;
DDEVENT_ON_CH_BROWSE : // Just integer !
begin
fmain.ListLastCMD('CHB ' + inttostr(Integer(EventParams)));
end;
end;
result := false;
end;
There was a problem related to RMT_OK inside the DD. I have fixed it. (v1.3b)
Other empty Remote codes do not have functionality yet. (thought for future OSD improvements with menu system etc.)
Sorry, the parameters for event types are not well documented in SDK, so you cant get much help there but this forum section is for that. You can ask everything you need to know here.
btw, nice module (from my preview). I guess the users who use streaming will like it when you release it. (You can post it here on the forum for beta tests if you would like.)
DVB Dream - because I have to dream about having time to code it
THX a lot !
Now it works - no more errors when programm changes. It must depend on that the returned code is an integer and not a pointer.
Looks a little bit curios, but doesn't matter... displaying the result codes is literal only for viewing if/how it works.
Another step to get a good working mod.
ScanMan
Now it works - no more errors when programm changes. It must depend on that the returned code is an integer and not a pointer.
Looks a little bit curios, but doesn't matter... displaying the result codes is literal only for viewing if/how it works.
Another step to get a good working mod.

.
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
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