its part of the rr installer.... there is a c# example
RRExtension Plugin Examples
I have been searching the forum for hours and I am beginning to suspect that the temperature control I bought is not supported in RR.
See: http://www.mp3car.com/road-runner/14...ml#post1437063
If it isn't then I'll have to write my own plugin. How do I get started? I read the sticky on how to write/update plugins but there is not much help there. All it really says is you just need to put the dll in the plugins directory and register it.
Is anyone willing to send me (or provide a link to) some starter code (I code in C#).
Reading a temperature sensor and displaying it in a label in RR should be really easy but I have to get past the basics of RR plugin development first.
Thanks in advance.
My Work Thread:
http://www.mp3car.com/vbulletin/show-off-your-project/72552-mp3-project-for-land-cruiser-done.html
Source switcher for Lill
http://www.mp3car.com/vbulletin/show...d=1#post841007
its part of the rr installer.... there is a c# example
RRExtension Plugin Examples
-Thanks
Mitch
www.rush2112.net
"Did you test it in carwings??"
Sun, Come shine my way
May healing waters bury all my pain
Wind, Carry me home
The fabric of reality is tearing apart
The piece of me that died
Will return To live again
Sweet. I'll see if I can figure it out.
Thanks.
My Work Thread:
http://www.mp3car.com/vbulletin/showthread.php?t=72552
Source switcher for Lill
http://www.mp3car.com/vbulletin/show...d=1#post841007
...not able to figure it out. I grabbed the sample c# code, added a label return, changed the 3 GUIDs. Changed nothing else. I took the compiled dll and put it in a directory off the riderunner\plugins\ directory. When I load RR it does not see the dll (looking at the debug.txt). I tried to register it but it errors out saying it has no entry point. What else should I have done before testing it?
My Work Thread:
http://www.mp3car.com/vbulletin/showthread.php?t=72552
Source switcher for Lill
http://www.mp3car.com/vbulletin/show...d=1#post841007
right its not going to work that way...
you have to regasm it
for debuging sakes, you can set visual studios path to where u want the plugin, and vs will regasm it for you for , debugging sakes
ie
plugins/mycoolplugin
.net dlls are regasmed not regsvred
and u have to create tlb
regasm /tlb mycoolplugin.dll
-Thanks
Mitch
www.rush2112.net
"Did you test it in carwings??"
Sun, Come shine my way
May healing waters bury all my pain
Wind, Carry me home
The fabric of reality is tearing apart
The piece of me that died
Will return To live again
Thank you. It took me another hour but I got it to compile and RR is recognizing that the plugin is there and "using" it. I am not able to read the label in a skin though. I wonder if I am doing anything wrong.
I added "case "MyTest"" to the following code.
public string ReturnLabel(string LBL, string FMT)
{
string s = "";
switch (LBL.ToLower())
{
case "boo":
s = "I'm Scared";
break;
case "MyTest":
s = "Weeeee";
break;
}
return s;
}
Now if I just put "MyTest" in the code section of a label on a skin it should return "Weeeee" right?
---------- Post added at 01:32 PM ---------- Previous post was at 01:26 PM ----------
I got it working. I made MyTest lower case and did same in skin and it works.
Thanks again.
My Work Thread:
http://www.mp3car.com/vbulletin/showthread.php?t=72552
Source switcher for Lill
http://www.mp3car.com/vbulletin/show...d=1#post841007
If you plan on releasing a plugin you create, please make sure you read the thread below
http://www.mp3car.com/rr-plugins/133...ting-them.html
Cheers
-Thanks
Mitch
www.rush2112.net
"Did you test it in carwings??"
Sun, Come shine my way
May healing waters bury all my pain
Wind, Carry me home
The fabric of reality is tearing apart
The piece of me that died
Will return To live again
plugins dont have skins...
they can, but dont have to...
so if you make labels and indicators and such and such, you need to make your own DEMO skin
RR is NOT CF, where everyone uses the same skin!
-Thanks
Mitch
www.rush2112.net
"Did you test it in carwings??"
Sun, Come shine my way
May healing waters bury all my pain
Wind, Carry me home
The fabric of reality is tearing apart
The piece of me that died
Will return To live again
Bookmarks