tag:blogger.com,1999:blog-4995334164049002857.post6470922594105492551..comments2023-11-02T09:48:10.203+01:00Comments on Christian Helle's Blog (Moved to christianhelle.com): Integrating with TomTom NavigatorChristian Resma Hellehttp://www.blogger.com/profile/16521776612083091477noreply@blogger.comBlogger18125tag:blogger.com,1999:blog-4995334164049002857.post-60509718137790456862013-08-06T09:59:03.102+02:002013-08-06T09:59:03.102+02:00Hey Atif,
It's been really a long time since ...Hey Atif,<br /><br />It's been really a long time since I last worked with this, but I'll see what I can do<br /><br />Regards,<br />ChrisChristian Resma Hellehttps://www.blogger.com/profile/16521776612083091477noreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-27183635663354226512012-01-31T11:26:54.035+01:002012-01-31T11:26:54.035+01:00I like your blog foundation.This is one of the eff...I like your blog foundation.This is one of the effective post.Your blog information is really useful.Android app developershttp://www.android-app-development.comnoreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-58669301364620218662009-12-12T20:11:06.263+01:002009-12-12T20:11:06.263+01:00Hi Tammer,
Yes, I've seen this behavior in ce...Hi Tammer,<br /><br />Yes, I've seen this behavior in certain versions of the SDK used in certain versions of the application. I've always had so much trouble with TomTom integration since TomTom v3...<br /><br />Try contacting TomTom regarding the problem. I would love to assist you but my contacts at TomTom are no longer there and the support procedure I have to go through would be the same as what you would do...Christian Resma Hellehttps://www.blogger.com/profile/16521776612083091477noreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-78441174050030478222009-12-12T16:59:40.377+01:002009-12-12T16:59:40.377+01:00Hi - I finally figured out what the problem was (m...Hi - I finally figured out what the problem was (missing dll that the TTSDK lib was referencing next flash card - this dll was not automatically part of the project I created in vs2008) - This has been resolved and I've been able to test the code.<br /><br />I'm getting some strange behaviour from invoking the c++ dll wrapper. When TomTom launches it tends to freeze. The entire O/S actually slows down as if a lot of processing is going on. I get this when I call bring to foreground. When I call navigate to postcode, I get the same behaviour (as in TomTom launches, but freezes inexplicably). When I've tried log if there are any errors there are no exceptions being thrown at all from the wrapper dll. Have you seen this issue before?Tammer Salemhttps://www.blogger.com/profile/17381045255196369447noreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-48744357470699407442009-11-11T21:20:20.293+01:002009-11-11T21:20:20.293+01:00Hi Tammer,
Using the DLL's should be describ...Hi Tammer, <br /><br />Using the DLL's should be described in detail in the TomTom SDK documentation. There should be 2 sets of samples as well (statically linked, and dynamically...)Christian Resma Hellehttps://www.blogger.com/profile/16521776612083091477noreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-22768788713763928452009-11-11T21:08:07.752+01:002009-11-11T21:08:07.752+01:00Hi,
no I'm not using MFC. I'm also not sur...Hi,<br />no I'm not using MFC. I'm also not sure what's the difference between statically linking to this lib and dynamically linking. The error below was generated by adding a reference to the lib in the linker section of the Project properties. I've also tried:<br /><br />#pragma comment( lib, "TTSDK6MT.lib" )<br /><br />I get the same error. Maybe this is an issue with understanding how to link? Also, is my understanding correct that the *.lib file is a static compilation? So if that's the case is it even possible to dynamically load it (like a DLL)?Tammer Salemhttps://www.blogger.com/profile/17381045255196369447noreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-72928881296144060142009-11-11T08:15:28.216+01:002009-11-11T08:15:28.216+01:00Hi Tammer,
Are you using MFC? I've had troubl...Hi Tammer,<br /><br />Are you using MFC? I've had trouble statically linking to the TomTom Lib when using MFC. The fastest solution I had at the time was to dynamically link to it insteadChristian Resma Hellehttps://www.blogger.com/profile/16521776612083091477noreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-24069622927399422712009-11-11T02:21:32.541+01:002009-11-11T02:21:32.541+01:00Hi,
I've followed your example practically to ...Hi,<br />I've followed your example practically to the letter (with the exception of using different methods to wrap from the tomtom SDK). At first I was getting unresolved external symbol errors for the wrapped tomtom SDK methods, then I realise that I need to link to the lib TTSDK6MT.lib. After I did this now I keep getting the following errors:<br /><br />*Error1:error LNK2019: unresolved external symbol FindNextFlashCard referenced in function "public: static long __cdecl CFileManagerEx::GetNextFlashCardRoot(class Tbuf<256> &,long)" (?GetNextFlashCardRoot@CFileManagerEx@@SAJAAV?$Tbuf@$0BAA@@@J@Z)<br /><br />*Error2:error LNK2019: unresolved external symbol FindFirstFlashCard referenced in function "public: static long __cdecl CFileManagerEx::GetNextFlashCardRoot(class Tbuf<256> &,long)" (?GetNextFlashCardRoot@CFileManagerEx@@SAJAAV?$Tbuf@$0BAA@@@J@Z)<br /><br />Do you have any idea why I would be getting this error? Any help would be great - thanksTammer Salemhttps://www.blogger.com/profile/17381045255196369447noreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-16448787935962920762008-05-24T11:46:00.000+02:002008-05-24T11:46:00.000+02:00Hi Christian,Thanks for this post. I am new to usi...Hi Christian,<BR/>Thanks for this post. I am new to using TomTom SDK and you blog has been of great help.<BR/><BR/>But I have prob as I can't find header files that are included in the C++ code i.e TomTomAPI.h etc, as I am trying to create C# wrapper.<BR/><BR/>I have installed TomTom SDK version 6.<BR/><BR/>Can you please help.<BR/><BR/>Regards<BR/>SandeepUnknownhttps://www.blogger.com/profile/10855031832056126665noreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-23927061330615825922008-01-29T13:24:00.000+01:002008-01-29T13:24:00.000+01:00hithanks for the code - it works great!In part 1, ...hi<BR/>thanks for the code - it works great!<BR/><BR/>In part 1, I start off by creating a DLL smart device MFC and I statically link to TTSDK6.lib<BR/>But when I add the output file TTSDK.dll to my project then this causes "A reference TTSDK6.dll could not be added".<BR/><BR/>Please help me!Unknownhttps://www.blogger.com/profile/18060511120741174919noreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-50911558830895995792007-08-24T13:18:00.000+02:002007-08-24T13:18:00.000+02:00Hi Petra,I don't think there such a method in the ...Hi Petra,<BR/><BR/>I don't think there such a method in the TomTom SDK exists. Have you checked the SDK Documentation?<BR/><BR/>You can call <B>NavigateToAddress</B> or <B>NavigateToPostalCode</B> to achieve some what the same results.<BR/><BR/>Best Regards,<BR/>ChristianChristian Resma Hellehttps://www.blogger.com/profile/16521776612083091477noreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-11837225956930000142007-08-24T12:52:00.000+02:002007-08-24T12:52:00.000+02:00hithanks for the code - it works great!i have one ...hi<BR/>thanks for the code - it works great!<BR/><BR/>i have one question concerning switching to navigator view: is there any chance to directly open the tomtom-form where i have to specify the city, street and so on (navigate to - address - street and number) - instead of the general navigatorView??<BR/><BR/>thanks<BR/>petraAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-11580096727276562402007-07-12T16:53:00.000+02:002007-07-12T16:53:00.000+02:00Hi Stuart,I use Pocket PC 2003 (ARMV4) and I stati...Hi Stuart,<BR/><BR/>I use Pocket PC 2003 (ARMV4) and I statically link to TTSDK5.lib (TTSDK6MT.lib for TomTom SDK 6)<BR/><BR/>Best Regards,<BR/>ChristianChristian Resma Hellehttps://www.blogger.com/profile/16521776612083091477noreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-3185785735333487952007-07-12T16:46:00.000+02:002007-07-12T16:46:00.000+02:00Christian, How are you compiling your .dll? If I ...Christian, <BR/><BR/>How are you compiling your .dll? If I compile mine as Pocket PC 2003 (ARMV4) then my c# app crashes, without an error. If I compile it as Windows Mobile 5 2005 Pocket PC, then it says it can't find the .dll. I know it can find it, as it's being loaded prior to the error (I get that warning to ask if it's a genuine application.)<BR/><BR/>Stuart.Stuarthttps://www.blogger.com/profile/13123065586219602414noreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-72537490649344196802007-07-12T13:58:00.000+02:002007-07-12T13:58:00.000+02:00Hi Stuart,Excellent finds! You're absolutely right...Hi Stuart,<BR/><BR/>Excellent finds! You're absolutely right about the typeName and the TTN6SDK.h.<BR/><BR/>It's coz I typed this article directly through blogger, instead of visual studio.<BR/><BR/>About the TTN6SDK.h, I believe thats my own definition file that I re-used. It's not part of the TomTom SDK.<BR/><BR/>I'll update this article.<BR/><BR/>Thanks!<BR/><BR/>Best Regards,<BR/>ChristianChristian Resma Hellehttps://www.blogger.com/profile/16521776612083091477noreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-77770051651995470842007-07-12T13:51:00.000+02:002007-07-12T13:51:00.000+02:00Thanks Christian, that makes sense. I tried to ca...Thanks Christian, that makes sense. I tried to call the DLL directly, but my app just bombs out.<BR/><BR/>Couple of other things:<BR/><BR/>Shouldn't this line:<BR/><B> public Navigator(string typeLoad)</B><BR/>be:<BR/><B> public Navigator(string typeName)<BR/></B><BR/>Also, the TomTom SDK I just downloaded, doesn't have TTN6SDK.h The example that came with it, has this:<BR/><B><BR/>#ifndef USETTSDKDLL<BR/>#include "sdkconstants.h"<BR/>#include "TomTomAPI.h"<BR/>#include "TomTomGoFileLayer.h"<BR/>#else<BR/>#include "TTSDKDLL.h"<BR/>#endif<BR/></B>Stuarthttps://www.blogger.com/profile/13123065586219602414noreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-54259730015560706042007-07-12T13:03:00.000+02:002007-07-12T13:03:00.000+02:00Hi Stuart,In part 3 "Managed TomTom Wrapper", I ha...Hi Stuart,<BR/><BR/>In part 3 <I>"Managed TomTom Wrapper"</I>, I have a sample implementation of my INavigator interface that wraps around the TomTom wrapper.<BR/><BR/><B>const string TYPENAME</B> is supposed to by the Type Name for the Managed TomTom Wrapper. <BR/><BR/>If for example your managed TomTom wrapper uses the following code:<BR/><BR/>namespace Navigator.Generic {<BR/> class TomTom : INavigator {<BR/> ..<BR/> .. <BR/> .. <BR/> }<BR/>}<BR/><BR/>Then your Type Name should be <B>"Navigator.Generic.TomTom, TomTom"</B>. The <I>"Assembly Name"</I> part is project's Default Assembly name which is set in the Project Properties in Visual Studio.<BR/><BR/>I hope that helps.<BR/><BR/> - ChristianChristian Resma Hellehttps://www.blogger.com/profile/16521776612083091477noreply@blogger.comtag:blogger.com,1999:blog-4995334164049002857.post-24392120975119338012007-07-12T12:49:00.000+02:002007-07-12T12:49:00.000+02:00Thanks for sharing this - all I need is to be able...Thanks for sharing this - all I need is to be able to send TomTom a navigation by Lat/Lon. What I dont understand, is this<BR/><B><BR/>private const string TYPENAME="[The namespace].[The class name], [The assembly name]";</B><BR/><BR/>What do I put in there?<BR/>Thanks, Stuart.Stuarthttps://www.blogger.com/profile/13123065586219602414noreply@blogger.com