Results 1 to 6 of 6

Thread: Destinator - Delphi

  1. #1
    Newbie
    Join Date
    Mar 2005
    Posts
    15

    Destinator - Delphi

    hi guys, i have the Destinator 3.1.00 Alpha SDK and i cant get it to work with delphi! Also when i check the functions present in the DestDLL.dll i only have like 4; unloadDLL, registerDLL and two more!

    Can anyone point me in the right direction? Got any VERY basic delphi source examples that can atleast get me started, lol?

    Anyhelp whatso ever!

    Dean

  2. #2
    Maximum Bitrate LagunaICE's Avatar
    Join Date
    Mar 2005
    Location
    Czech republic
    Posts
    772
    Let me know if you figure this out, I am interested in it as well.

  3. #3
    Constant Bitrate pate60's Avatar
    Join Date
    Jun 2004
    Location
    Auckland, New Zealand.
    Posts
    210
    would be interesting

  4. #4
    Newbie
    Join Date
    Jun 2005
    Posts
    2

    Thumbs down Desktinator SDK

    Folks,

    Becareful don't wast your money I just purchase the Destinator SDK, and receive a confirmatiom from them that there is an Expiry date on the "DestDLL_08_05.zip" file mean will only work until August... 50$ usd just for 1 1/2 month of trial, it is very expensive.



    not happy at all, will only cost me 100$ for microsoft mapoint including GPS receiver.

  5. #5
    Variable Bitrate
    Join Date
    Jan 2005
    Location
    UK
    Posts
    265
    1. Import the type library into Delphi. I'm using D7, so it's in Project | Import type library. Select "Destdll 1.0 type library". Note that the dialog offers to put it on the ActiveX page in the palette. Go with that or change it as you like. Select "Install..." and let it recompile your palette. Before starting a new application, allow Delphi to save the palette project otherwise next time you install something you'll lose the Destinator stuff.

    2. Start a new application. Drop the "Dest" component onto the form - can be found in the ActiveX page of the palette if you accepted the defaults when installing. Set the properties as follows:

    AutoConnect - false
    ConnectKind - ckNewInstance

    3. Drop a panel onto your form. Make it large enough to show the destinator map.

    4. Put this code in your formcreate (double click the form (not the panel) to get to the formcreate):

    procedure TForm1.FormCreate(Sender: TObject);
    var
    DestWND : HWND;
    begin
    Dest1.Connect;
    Dest1.CreateDestinatorWindow(1);

    DestWND := dest1.GetDestinatorWindowHandle;

    Windows.Setparent(DestWND, Panel1.Handle);
    SetWindowpos(DestWND, HWND_TOP, 0, 0, Panel1.Width, Panel1.Height, SWP_SHOWWINDOW);
    SetWindowLong(DestWND, GWL_STYLE, WS_VISIBLE);

    ShowWindow(DestWND, sw_show);
    end;
    5. Run the app and you should get a map on screen inside the panel.

    Ric.

  6. #6
    Newbie
    Join Date
    Mar 2007
    Posts
    2
    I have just start using destinator and i would like to use it inside an application of mine made with Delphi. I have followed your instructions but i am always getting a message "Interface not supported" and the program stops inside the dest1.connect; procedure. Any help?

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
  •