Results 1 to 6 of 6

Thread: Hello World plugin

  1. #1
    Constant Bitrate
    Join Date
    Aug 2003
    Location
    Seattle, WA
    Posts
    115

    Hello World plugin

    I have downloaded the CF SDK and example plugins (web and weather).

    The example plugins are good for education, but you sortof have to rip out most of the stuff that is in them before you can start really writing your own plugin.

    It would be great to have a basic "hello world" plugin that has the minimum required skin and code to write a plugin (plus lots of comments).

    veetid, do you have a template plugin that you use to start your projects from?
    Would you mind sharing that with us?

    I would try to produce a hello world plugin myself, but I currently only have VS2K5 installed and I cannot get CF plugins written w/ VS2K5 (.Net 2.0) to install in to CF (.Net 1.1?), so I would need to resolve this problem [by reinstalling VS2K3?] before I could create a hello world plugin.

  2. #2
    FLAC alti's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,723
    I did one in c# awhile back, (when CF 1.5 first came out) and someone ported it to vb.

    you might need to modify it for 1.6 but it should be here somewhere (I will search for it now as well to make sure)
    My Install

    Software:
    CFiG v1
    iGuidance Plugin for CF

    CarShell
    Working shell for a CarPC

    StopWatch
    StopWatch plugin remade for centrafuse RC1

  3. #3
    FLAC alti's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,723
    ya sorry, i could not find it, i did find the vb version (Jarrod's) but the link was broken. Here is a link to source for a plugin i did for CF 1.5 it contains my code, but for now it is another example of a working plugin (with CF version 1.5) I have not have not had any time to update it for version 1.6, it will not work in 1.6 also you will have to make whatever changes are required for 1.6

    EDIT: sorry it would have been helpful if i provided the link for the source :Release : StopWatch Plugin for Centafuse

    I will look later this week (friday/sat) to see if i still have the empty plugins (c# and vb) on my home dev computer.
    My Install

    Software:
    CFiG v1
    iGuidance Plugin for CF

    CarShell
    Working shell for a CarPC

    StopWatch
    StopWatch plugin remade for centrafuse RC1

  4. #4
    Variable Bitrate
    Join Date
    Sep 2004
    Location
    Slovenia (EU)
    Posts
    312
    Quote Originally Posted by paulpv
    ... I would try to produce a hello world plugin myself, but I currently only have VS2K5 installed and I cannot get CF plugins written w/ VS2K5 (.Net 2.0) to install in to CF (.Net 1.1?), so I would need to resolve this problem [by reinstalling VS2K3?] before I could create a hello world plugin.
    Oh so for CF plugins than I need VS2003? Is there any way to make plugins in VS2005?

  5. #5
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    Quote Originally Posted by stric
    Oh so for CF plugins than I need VS2003? Is there any way to make plugins in VS2005?
    There are ways to compile .NET 1.1 applications in VS2005, but I have never done it... It is usually easier and more stable to just load VS2003...

    david
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  6. #6
    FLAC alti's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,723
    here is a link to the empty VB plugin i referenced above.

    I was not able to find the empty c# one, I probibly lost it or morphed it into a hlf finished plugin

    speaking of which here is a link to the source for the skin switcher plugin i started before it was discovered that the SDK did not support switching skins with CF running. If i remember correctly it accesses the config xml file for centrafuse that contains the name of the active skin and changes it to the one you want, but you have to reboot CF to actually get the new skin, If David can add the ability to the SDK then you would just have to modify this to do it. It two was built for CF 1.5 so it would probibly have to be modified for 1.6 as well, refer to davids API documentation for that. (I dont think i got really far with GUI on this one, I put it on hold waiting for the change to the sdk)
    My Install

    Software:
    CFiG v1
    iGuidance Plugin for CF

    CarShell
    Working shell for a CarPC

    StopWatch
    StopWatch plugin remade for centrafuse RC1

Similar Threads

  1. Garo's Extra POI Plugin 1.0 beta 1
    By garo in forum Map Monkey
    Replies: 63
    Last Post: 01-18-2007, 12:32 PM
  2. Replies: 2
    Last Post: 05-17-2006, 01:20 AM
  3. How do I use the Base plugin sources ?
    By guino in forum RR FAQ
    Replies: 1
    Last Post: 04-24-2006, 03:43 PM
  4. Winamp LCD display plugin / IRMan plugin - together?
    By Jarrod in forum Software & Software Development
    Replies: 9
    Last Post: 06-03-2002, 05:39 AM
  5. What do you think of my playlist??
    By SkinnyBoy in forum Software & Software Development
    Replies: 19
    Last Post: 07-19-2001, 12:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •