View previous topic :: View next topic |
Author |
Message |
vincenzolembo Occasional Visitor
Joined: Feb 21, 2005 Posts: 4
|
Posted: Mon Feb 21, 2005 10:12 am Post subject: Tom Tom SDK problem |
|
|
Hi,
I'm trying to get the TomTom SDK 3.0 working on Embedded VB 3.0 connected to an Fujitsu Siemens Pocket LOOX 600.
I followed the procedure hereinunder descibed and indicated in the Use Case Manual enclosed to the Navigator:
- I installed .ocx and .dll on the pocketPC by using the tool Setup.EXE
- I installed the ocx on the develop pc (copied in c:\windows\system32 and registered)
In the pc where I use to work are installed:
- VisualTools 3.0
- Microsoft ActiveSync 3.8
Executing the following code in eMbedded Visual Basic 3.0:
************************************************
Option Explicit
Private Sub Form_Load()
MsgBox ObjTTNav.GetNavigatorVersionInfo
End Sub
Private Sub Form_OKClick()
App.End
End Sub
*************************************************
he continue to give me the following error:
"An error was encountered while running this program: Invalid procedure call or argument: ObjTTNav.GetNavigatorVersionInfo"
I tried also by calling the method of the object ObjTTNav as following:
MsgBox (ObjTTNav.GetNavigatorVersionInfo)
or
MsgBox ObjTTNav.GetNavigatorVersionInfo()
Always the same!
Where is the problem? Could you help me?
Thanks.
Vincenzo Lembo |
|
Back to top |
|
|
lbendlin Pocket GPS Staff
Joined: 02/11/2002 22:41:59 Posts: 11878 Location: Massachusetts, USA
|
Posted: Mon Feb 21, 2005 2:33 pm Post subject: |
|
|
don't you have to declare and SET the object before you can use it? _________________ Lutz
Report Map Errors here:
TomTom/TeleAtlas NAVTEQ |
|
Back to top |
|
|
vincenzolembo Occasional Visitor
Joined: Feb 21, 2005 Posts: 4
|
Posted: Mon Feb 21, 2005 3:33 pm Post subject: |
|
|
I add component "TomTom Navigator SDK 3.0" to the project (TTNControl.ocx registered) and i use it.
I also try:
Private Sub Form_Load()
Dim sdkVersion As String
Dim TTN
Set TTN = CreateObject("TTNControlLibCtl.ITomTomNavigator")
TTN.Visible = False
MsgBox "ciao"
sdkVersion = TTN.GetSdkVersionInfo()
End Sub
or
Private Sub Form_Load()
Dim sdkVersion As String
Dim TTN As TTNControlLibCtl.ITomTomNavigator
Set TTN = CreateObject("TTNControlLibCtl.ITomTomNavigator")
TTN.Visible = False
MsgBox "ciao"
sdkVersion = TTN.GetSdkVersionInfo()
End Sub
This is the error:
"An error was encountered while running this program: ActiveX component can't create object"
Executing this code:
Private Sub Form_Load()
Dim sdkVersion As String
Dim TTN As TTNControlLibCtl.TomTomNavigator
Set TTN = ObjTTNav 'control added to project
TTN.Visible = False
MsgBox "ciao"
sdkVersion = TTN.GetSdkVersionInfo()
End Sub
i have the following error:
"An error was encountered while running this program: Invalid procedure call or argument: ObjTTNav.GetNavigatorVersionInfo"
Where i'm wrong? |
|
Back to top |
|
|
lbendlin Pocket GPS Staff
Joined: 02/11/2002 22:41:59 Posts: 11878 Location: Massachusetts, USA
|
Posted: Mon Feb 21, 2005 3:50 pm Post subject: |
|
|
looks like the registration on the Pocket PC failed. Can you repeat that? _________________ Lutz
Report Map Errors here:
TomTom/TeleAtlas NAVTEQ |
|
Back to top |
|
|
vincenzolembo Occasional Visitor
Joined: Feb 21, 2005 Posts: 4
|
Posted: Mon Feb 21, 2005 4:24 pm Post subject: |
|
|
I uninstalled the Tom Tom Navigator and SDK (i remove manually the files TTNCom.dll and TTNControl.ocx from pocket pc) and repeat the installation, but i have the same problem.
The installation procedure of SDK is:
"The ActiveX component and DLL are required to make function calls from C++ or Visual Basic. The \Sdk\TTNCom\install\ contains SETUP.EXE, which will install the DLL and ActiveX components on your PDA."
I do not know the way well in order to register manually the activex on the pocketPC. You can help me? |
|
Back to top |
|
|
nej Frequent Visitor
Joined: Jun 16, 2004 Posts: 454 Location: London, Ingerlund
|
Posted: Tue Feb 22, 2005 11:31 am Post subject: |
|
|
As a cheat, try installing Checkpoint as this installs the PPC-side SDK. Alternatively, PM me your email address and I'll email you a CAB file with it in. |
|
Back to top |
|
|
lbendlin Pocket GPS Staff
Joined: 02/11/2002 22:41:59 Posts: 11878 Location: Massachusetts, USA
|
Posted: Tue Feb 22, 2005 3:21 pm Post subject: |
|
|
nej wrote: | As a cheat, try installing Checkpoint as this installs the PPC-side SDK. Alternatively, PM me your email address and I'll email you a CAB file with it in. |
He does have ttncom.dll already, that seems not to be the problem.
Maybe the VB runtime is missing? Is that a WM2003 device ? _________________ Lutz
Report Map Errors here:
TomTom/TeleAtlas NAVTEQ |
|
Back to top |
|
|
rbsoft Occasional Visitor
Joined: May 12, 2005 Posts: 2
|
Posted: Mon May 16, 2005 8:34 am Post subject: |
|
|
I am having the same problem as vincenzolombo. TomTom is not answering.
Has anybody found a solution?
Rolf Brandt
mailto:rolf.brandt@rbsoft.info
www.rbsoft.info |
|
Back to top |
|
|
nej Frequent Visitor
Joined: Jun 16, 2004 Posts: 454 Location: London, Ingerlund
|
Posted: Mon May 16, 2005 9:15 am Post subject: |
|
|
Yes, basically if you have the V3 SDK it doesn't work properly... there is a fixed version that fixes it a bit - PM me your email address and I'll send it to you. It might help.
This doesn't fix everything though, and some functions described in the manual do not actually work (as in they actually aren't coded into the SDK!)
V5 SDK out soon(ish) though.
TomTom can be a nightmare sometimes when it comes to the SDK... ask Nomada - he's had no end of problems dealing with them but eventually he got offered a refund. Personally I've had no problems with getting hold of TomTom, though. |
|
Back to top |
|
|
rbsoft Occasional Visitor
Joined: May 12, 2005 Posts: 2
|
Posted: Tue May 17, 2005 10:37 am Post subject: tomtom sdk |
|
|
Hello,
my private email adress is:
rolf.brandt@rbsoft.info
Thank you for offering to help. From TomTom I go no answer so far.
Rolf |
|
Back to top |
|
|
|
Posted: Today Post subject: Pocket GPS Advertising |
|
|
We see you’re using an ad-blocker. We’re fine with that and won’t stop you visiting the site.
Have you considered making a donation towards website running costs?. Or you could disable your ad-blocker for this site. We think you’ll find our adverts are not overbearing!
|
|
Back to top |
|
|
|