Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner


Reply
 
Share Thread Tools Display Modes
Old 06-23-2006, 02:06 AM   #1
Low Bitrate
 
festy's Avatar
 
Join Date: Jun 2006
Location: Sydney, OZ
Posts: 108
festy is on a distinguished road
Extension plugin problems

I'm trying to get extension plugins working with RR but obviously I'm doing something wrong. I can't even get it to work using the example dll.

In my menu.skin I've added the following lines:

X,MyExtension
L,271,339,231,34,202,202,202,14,"Verdana","MYLABEL ",""
B14,632,505,162,67,"MYCOMMAND",""

which should load the plugin dll, give me the label defined in MyExtension, and a button that opens a msgbox if I understand correctly. I've also tried recompiling the example module with a msgbox in Class_Initialize() to try and determine if it's loading.

My RR debug log shows:
23/06/2006 7:41:31 AM: Leave Exec: False, menu.skin, , False
23/06/2006 7:41:33 AM: Enter Exec: False, menu.skin, "MYCOMMAND", False
23/06/2006 7:41:33 AM: Que Exec: True, menu.skin, "MYCOMMAND", False
23/06/2006 7:41:33 AM: Executing: MYCOMMAND

but no label of msgbox

so some questions -
1) am I doing this right? I'm fairly new to RR but have read the extension plugin FAQ and this seems to be the way it's meant to be done?
2) where should the plugin DLL be? in the skin dir I assume?
3) Should the debug log show plugin information?

I'm probably doing something dumb, but I can't work it out...
festy is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 06-23-2006, 11:09 AM   #2
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,060
guino will become famous soon enoughguino will become famous soon enough
Your skin definitions seem fine.

This is a common concept of COM objects. The DLL doesn't have to be anywhere specific, but should be registered from the location you intend to use it. Recompiling the DLL normally registers it, but if you move it afterwards, then it may not work. You can simply do:

regsvr32 MyExtension.dll

from wherever the DLL is, and it should work.

The debug info from RR will show it executing the commands your plugin implements, but you'd have to add debug code to the plugin to know what it's doing inside the DLL.
__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 06-23-2006, 07:20 PM   #3
Low Bitrate
 
festy's Avatar
 
Join Date: Jun 2006
Location: Sydney, OZ
Posts: 108
festy is on a distinguished road
Thanks - I knew it would be something simple I'd overlooked
festy is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to minimize (selfmade) plugin? Goddy Map Monkey 1 07-10-2006 05:58 PM
Hello World plugin paulpv CF Plugins 5 06-08-2006 11:07 PM
opus problems studmonk3y Power Supplies 9 03-29-2005 05:09 PM
Lilliput with extension cables (9-pin mini-din vs. VGA) BriCubz LCD/Display 3 09-03-2004 08:07 PM
Dell Inspiron 8200 & Lilliput TS problems? bkpsu LCD/Display 1 08-15-2004 02:55 PM



All times are GMT -5. The time now is 05:54 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics