PPP Forum

Information and discussions about our products
Welcome to PPP Forum Sign in | Join | Help
in Search

Breaking changes: our new Navigation solution partner is Sygic

From TomTom to Sygic:
Over the years our former navigation provider reduced his SDK more and more to drive his own business solutions.
Finally a SDK is no longer available!
Looking for an alternative solution we found www.sygic.com/tomtom-sdk.
Why we recommend Sygic:
  • Good support at first hand
  • A modern Navigation Solution (with actual maps)
  • Native .NET support in the SDK (no need for third party solutions)
  • Many operating systems support including Linux and Android
  • A partner which is even able to adapt the Navigation solution to your needs.

TTNCF Hangs on Function-Calls

Last post 08-13-2006, 20:02 by ManniAT. 1 replies.
Sort Posts: Previous Next
  •  08-13-2006, 16:17 615

    TTNCF Hangs on Function-Calls

    Hi there,

    I've folowing Problem:

    Sometimes TTNCF does not return from function calls - especially when started shortly before.
    This is what my code does before any other calls:

    int cnt = 0;
    if (TTN.IsApplicationRunning() != 1)
    {
       TTN.StartApplication();
       Thread.Sleep(3000);

       //check for 15sec if its running
       while (TTN.IsApplicationRunning() != 1 && cnt < 15)
       {
          Thread.Sleep(1000);
          cnt++;
       }
       if (cnt > 14) return false;

       //wait another 2sec to be sure?
       Thread.Sleep(2000);
    }
    TTN.SetForegroundWindow(form);
    return true;

    Still it hangs sometimes randomly on other calls.
    I use:

    GeoCodeExtended
    GetInternalVersions
    NavigateTo
    ...

    Devices:

    DELL Axim v50, HTC Wizard, HTC Magician: it hangs regularly
    ASUS MyPal A636, HTC Universal: it happens only sometimes (e.g: after 50x GeoCodeExtended)
    HP 6340, HP 6545: if TT is started before our appl - it works, if not it hangs sometimes

    Versions:

    VS 2003 C#
    TTSDK: 5.2.223
    TT:  5.2.223
    TTNCF: 5.21.0.1
    Map: DE_AT_CH_PL_CZ_Plus-Map (571)

    Waht am I doing wrong?

    by the way: Greetings to Kleinmünchen/Ebelsberg

    Harald

  •  08-13-2006, 20:02 616 in reply to 615

    Re: TTNCF Hangs on Function-Calls

    Hi Hatald,

    you shoudl use the corrext TTN version.
    What you use is an "nteresting" Version.

    The (I think) mot current version has build 5430 and Version 5.21.

    Earlier versions for sure make problems with SDK 5.21.
    You can download the most current version from http://www.tomtom.com

    Your code looks OK.

    Regards

    Manfred

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems