gema Posted September 16, 2004 Share Posted September 16, 2004 Hi, any actions planned with this? BTW: has somebody an example plugin written in 'C'? Regards, gema Quote Link to comment
Klausing Posted September 16, 2004 Share Posted September 16, 2004 explain a little bit what do you want to do and what do you need. Quote Link to comment
Guest hackbart Posted September 16, 2004 Share Posted September 16, 2004 hmm, i did not translate the interface to c, but i suppose it's not that big a deal. Christian PS: What do you need the sdk for? It's similar to Multidec, but for some good reasons i did not make it 100% compatible. Quote Link to comment
gema Posted September 16, 2004 Author Share Posted September 16, 2004 in an other thread I asked for a delay for the record info file because in some cases this file is wrong/empty (only 0:00 inside). This wish didn't get the approval, thus I will try to make it by my own. First steps work: DLLMain is called with ATTACH/DETACH but now I need the correct declaration and definition for the other functions, how to export, which new callbacks, ... Quote Link to comment
erwin Posted September 16, 2004 Share Posted September 16, 2004 (edited) extern "C" { char * __stdcall Version() { return "0.0"; } char * __stdcall Copyright() { return "erwin"; } char * __stdcall LibTyp() { return "Plugin"; } //usw } Wichtig also extern "C" und __stdcall. Und noch eins: Die Exports gehören in ein .DEF-File, Microsoft's __dllexport unter Verzicht auf das DEF-File funktioniert wegen des dort verwendeten Name-mangling nicht. Falls es Schierigkeiten mit der Umsetzung der Delphi-Datentypen nach C gibt, frag ruhig noch mal nach! Viel Erfolg erwin Sorry for the answer is in german. PS: extern "C" natürlich nur bei C++! Edited September 16, 2004 by erwin Quote Link to comment
stax Posted July 22, 2008 Share Posted July 22, 2008 The MCE remote plugin has several issues, for instance it changes the volume of DVBViewer and the system at the same time. Other problem is some buttons will invoke the MS MediaCenter so there are quite a few things that need to be fixed. I want to write a MCE remote plugin fixing the issues of the current plugin. Is there any input plugin or general plugin source code? I know C++ better than Delphi but Delphi code would help too. It'll raise input events for several window messages and block other window messages so I have to hook the window procedure which can be done using the SetWindowLong function where you can set the pointer to the window procedure. Some source code would be great since anything other than .NET is very difficult for me since it's extremely rare I code something other than .NET. Quote Link to comment
Lars_MQ Posted July 22, 2008 Share Posted July 22, 2008 It would be easier to tell windows not to use the build in actions on some of the remote keys. That's what you expirience. google might help you. I canned the mce remote because of this annoying MS forced behaviour. Quote Link to comment
stax Posted July 22, 2008 Share Posted July 22, 2008 The drivers lack and so does DVBViewer and almost any other application. I was reading on registry tricks before and searched a bit more, best source I found so far is this: http://www.promixis.com/forums/showpost.ph...mp;postcount=50 Quote Link to comment
stax Posted July 22, 2008 Share Posted July 22, 2008 That would however break MS MediaCenter so it's not a solution for me. I'm lookin for a solution that don't need EventGhost or Girder which are resource hogs. I might write a resource friendly application using global hooks. This way I can control any application. Quote Link to comment
jimmyg Posted August 19, 2008 Share Posted August 19, 2008 That would however break MS MediaCenter so it's not a solution for me. I'm lookin for a solution that don't need EventGhost or Girder which are resource hogs. I might write a resource friendly application using global hooks. This way I can control any application. Have you tried LM Remote Keymap. It controls programs based on their focus, using profiles . It can also switch off the annoying keys that are hogged by MC. Like the Green Button etc... and remap them. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.