Results 1 to 6 of 6

Thread: C++ Snippet Needed

  1. #1
    The Last Good Gremlin GizmoQ's Avatar
    Join Date
    Nov 2004
    Location
    St Louis
    Posts
    2,347

    C++ Snippet Needed

    I am trying to send TRACKNAME to an external program that is in C++, but I have no idea how to initialize or retrieve the data from the RideRunner SDK. The FAQ section has the following written in VB6:
    Code:
    Set RRSDK = CreateObject("RoadRunner.SDK")
    
    ' To Get information from Road Runner
    CurrentSong = RRSDK.GetInfo("TRACKNAME")
    I want to do the same thing in C++. Anyone out there know what the C++ code should be?
    HARDWARE: Fujitsu Stylistic ST5111w/WiFi and dock, internal Hitachi 500G HD, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, BoomzBox HD radio, XM Commander, Delorme GPS, Saitek X-52 Pro joystick, BluSoleil Bluetooth, TPMS, FB, Elm327

  2. #2
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    1,783
    Quote Originally Posted by GizmoQ View Post
    I am trying to send TRACKNAME to an external program that is in C++, but I have no idea how to initialize or retrieve the data from the RideRunner SDK. The FAQ section has the following written in VB6:
    Code:
    Set RRSDK = CreateObject("RoadRunner.SDK")
    
    ' To Get information from Road Runner
    CurrentSong = RRSDK.GetInfo("TRACKNAME")
    I want to do the same thing in C++. Anyone out there know what the C++ code should be?
    Take a look here:
    http://www.codeproject.com/KB/COM/consoleactivex.aspx

  3. #3
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    The above should work fine, and there are alternatives to receiving data from RR such as using the SendMessage API (WM_COPYDATA) also demostrated in the SDK examples.
    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."

  4. #4
    The Last Good Gremlin GizmoQ's Avatar
    Join Date
    Nov 2004
    Location
    St Louis
    Posts
    2,347
    [SPOONFEED MODE ON]

    Would someone please translate the above and list the necesary #include, #define, and variable definitions needed to acquire and pass the data to another output in C++.

    [SPOONFEED MODE OFF]
    HARDWARE: Fujitsu Stylistic ST5111w/WiFi and dock, internal Hitachi 500G HD, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, BoomzBox HD radio, XM Commander, Delorme GPS, Saitek X-52 Pro joystick, BluSoleil Bluetooth, TPMS, FB, Elm327

  5. #5
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,585
    [DEVIL ADVOCATE MODE]

    Gizmo, do you know the basics of C++ programming?

    If so you should be able to work it from the link

    If not, then I'm not sure you should be trying to do it, till you have some more C++ programming under you belt.

    [/DEVIL ADVOCATE]



  6. #6
    The Last Good Gremlin GizmoQ's Avatar
    Join Date
    Nov 2004
    Location
    St Louis
    Posts
    2,347
    Quote Originally Posted by Enforcer View Post
    [DEVIL ADVOCATE MODE]

    Gizmo, do you know the basics of C++ programming?

    If so you should be able to work it from the link

    If not, then I'm not sure you should be trying to do it, till you have some more C++ programming under you belt.

    [/DEVIL ADVOCATE]


    Its been 25 years since I did any serious programming. I'm too old to want to learn another programming language. So how much do you want.... to do it for me. At this point in my life, I have more money than time. PM incoming.
    HARDWARE: Fujitsu Stylistic ST5111w/WiFi and dock, internal Hitachi 500G HD, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, BoomzBox HD radio, XM Commander, Delorme GPS, Saitek X-52 Pro joystick, BluSoleil Bluetooth, TPMS, FB, Elm327

Similar Threads

  1. New Car PC info needed
    By Tribalvision in forum Newbie
    Replies: 1
    Last Post: 01-06-2008, 09:00 PM
  2. Needed, Last few Norwegian translations needed
    By veetid in forum Centrafuse
    Replies: 1
    Last Post: 06-13-2007, 10:55 AM
  3. Needed a good source 3.5mm to RCA shielded audio cable
    By bosstone74 in forum Classified Archive
    Replies: 7
    Last Post: 01-16-2006, 05:28 PM
  4. Amplifier Needed?
    By c0rrupti0n in forum Newbie
    Replies: 7
    Last Post: 03-15-2004, 03:04 AM
  5. My project for the day - advice needed
    By ddt in forum General MP3Car Discussion
    Replies: 2
    Last Post: 12-02-2002, 07:51 AM

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
  •