Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Delphi SDK examples?

  1. #1
    Newbie
    Join Date
    Apr 2005
    Location
    Sweden
    Posts
    16

    Delphi SDK examples?

    The readme for FD0.51 says:

    "The SDK uses the COMsend command which examples are provided for in VB6 and Delphi (thanks goes to Guino for these)"

    But I can't find any Delphi examples, so I wonder if I could get hold of the Delphi examples or maybe if anybody else could help me out how to speak to FD through Delphi.

    Keep in mind that I'm pretty new to Delphi

  2. #2
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,508
    yeah.. sorry m8.. if you already have roadrunner, it uses the same sdk examples :-).. just grab the roadrunner source. Sorry I forgot to include them, will stick em with ver 0.53 later this week.. If your having probs finding them (RR source) then give me a shout.

    cheers

    CdR

  3. #3
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    Quote Originally Posted by Nisos
    The readme for FD0.51 says:

    "The SDK uses the COMsend command which examples are provided for in VB6 and Delphi (thanks goes to Guino for these)"

    But I can't find any Delphi examples, so I wonder if I could get hold of the Delphi examples or maybe if anybody else could help me out how to speak to FD through Delphi.

    Keep in mind that I'm pretty new to Delphi
    Search for it. I'm very sure that I posted a link to my example for Road Runner. Then you need to modify it to work with FD.

  4. #4
    Newbie
    Join Date
    Apr 2005
    Location
    Sweden
    Posts
    16
    I tried to download RR source earlier today but the link was dead.

    So if you could send them to me CdR it would be great.

    0l33l: I'll start searching for your examples too, thanks.

  5. #5
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    Quote Originally Posted by Nisos
    0l33l: I'll start searching for your examples too, thanks.
    Good
    Attached Files Attached Files

  6. #6
    Newbie
    Join Date
    Apr 2005
    Location
    Sweden
    Posts
    16
    Thanks 0l33l!

    Did some quick testing and now I can control FD as I want to.

    Saved me a lot of time

  7. #7
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,508
    if only I could sdk the wife :-)

  8. #8
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    Quote Originally Posted by Nisos
    Thanks 0l33l!

    Did some quick testing and now I can control FD as I want to.

    Saved me a lot of time
    Thank Frodo for it.. he helped me translate it

    Post what you have now. It will now same me a lot of time

  9. #9
    Newbie
    Join Date
    Apr 2005
    Location
    Sweden
    Posts
    16
    Ok all I did was to first to let Delphi convert the project to Delphi2005, then I changed the the two lines:

    sendcopydata(findwindow(nil, 'RoadRunner'), MyCopyDataStruct);
    ---
    if findwindow(nil, 'RoadRunner') = 0 then showmessage('not found');

    to

    sendcopydata(findwindow(nil, 'FDSDK'), MyCopyDataStruct);
    ---
    if findwindow(nil, 'FDSDK') = 0 then showmessage('not found');

    Then compiled and put the FD SDK commands in the input box (view2d, view3d and so on) thats all. Havn't done more than that, but now that I know how to control it I can sleep well

  10. #10
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    Sweet! How do you like Delphi05 anyways? This is the one on the .NET network.. right?
    Quote Originally Posted by Nisos
    Ok all I did was to first to let Delphi convert the project to Delphi2005, then I changed the the two lines:

    sendcopydata(findwindow(nil, 'RoadRunner'), MyCopyDataStruct);
    ---
    if findwindow(nil, 'RoadRunner') = 0 then showmessage('not found');

    to

    sendcopydata(findwindow(nil, 'FDSDK'), MyCopyDataStruct);
    ---
    if findwindow(nil, 'FDSDK') = 0 then showmessage('not found');

    Then compiled and put the FD SDK commands in the input box (view2d, view3d and so on) thats all. Havn't done more than that, but now that I know how to control it I can sleep well

Page 1 of 2 12 LastLast

Similar Threads

  1. iGuidance SDK
    By Quattro in forum GPS
    Replies: 57
    Last Post: 06-23-2006, 07:37 AM
  2. Replies: 9
    Last Post: 03-31-2005, 02:40 AM
  3. Destinator 3 SDK features working
    By loscooby in forum GPS
    Replies: 4
    Last Post: 09-21-2004, 12:46 AM
  4. Destinator 3 SDK availability schedule information
    By Confused in forum Software & Software Development
    Replies: 37
    Last Post: 08-26-2004, 05:57 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
  •