DvbDream Community

- No topics related to illegal ways of watching TV ! -
It is currently Tue May 21, 2013 3:15 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: SendMessage and DvbDream
PostPosted: Sun Feb 10, 2008 7:37 am 
Offline
Just popping in

Joined: Sun Jan 13, 2008 1:14 pm
Posts: 4
Hello,

i am trying to send a message from an c# application to DD using the API function "SendMessage".

Example:
SendMessage(ipDD, 0x0400 + 323, 0, 0x00000002);

1. param = HWND of DD´s mainwindow (C# IntPtr)
2. param = message type "WM_REMOTE_DEVICE_MSG"
3. param = wParam zero
4. param = lParam key code

This doesn´t work. Any ideas how to get this working??

Thanks
Isch

_________________
TT-budget S2-3200


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 11, 2008 8:12 am 
Offline
relocation
User avatar

Joined: Fri Jun 16, 2006 9:50 am
Posts: 1561
you should select "Native" as remote type to be able to use WM_REMOTE_DEVICE_MSG (this function enables to use DD's internal key assignment dialog)

main menu->options->remote

_________________
DVB Dream - because I have to dream about having time to code it


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 11, 2008 9:54 am 
Offline
Just popping in

Joined: Sun Jan 13, 2008 1:14 pm
Posts: 4
Hi rel,

thanks for your reply.

I have selected this option, but it doesn´t work. Any other ideas?

Isch

_________________
TT-budget S2-3200


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 11, 2008 1:11 pm 
Offline
relocation
User avatar

Joined: Fri Jun 16, 2006 9:50 am
Posts: 1561
Isch wrote:
Hi rel,

thanks for your reply.

I have selected this option, but it doesn´t work. Any other ideas?

Isch


no idea,
maybe window handle is wrong ?
try to test it with basic keys, like "mute"
also give a try to WM_REMOTE_MSG first, instead of WM_REMOTE_DEVICE_MSG

_________________
DVB Dream - because I have to dream about having time to code it


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group