Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 6 of 6

Mappoint Europe 2006 + Powerbuilder 10.5

This is a discussion on Mappoint Europe 2006 + Powerbuilder 10.5 within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi ! I get an error '35 - error calling external object function newmap at line ... ' while creating ...

  1. #1
    bruno is offline Junior Member White Belt
    Join Date
    Dec 2006
    Posts
    3

    Post Mappoint Europe 2006 + Powerbuilder 10.5

    Hi !

    I get an error '35 - error calling external object function newmap at line ... ' while creating a new map in an ole-control.
    - I created a mappoint control on the window (Insert / Control / Ole,
    then I select the tabpage 'insert control', and finally selected
    'Microsoft Mappoint Control 13.0')
    - name of the olecontrol: ole_map
    - open event of the window: ioo_map = ole_map.object.NewMap(2)
    - instance var of the window : oleobject ioo_map
    - 2 = geoMapEurope

    Can anyone help me with the is problem ?
    Kind Regards
    Bruno

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: Mappoint Europe 2006 + Powerbuilder 10.5

    Hi Bruno,

    What happens if you call OpenMap (with a ptt file) instead of NewMap ? I recall me something similar using Delphi.

  3. #3
    bruno is offline Junior Member White Belt
    Join Date
    Dec 2006
    Posts
    3

    Re: Mappoint Europe 2006 + Powerbuilder 10.5

    Hi Wilfried !

    I called the OpenMap function with an existing mappoint file (test.ptm) , the problem still remain with the same error code ...

    oleobject loo_map
    //loo_map = ole_map.object.Newmap(2)
    loo_map = ole_map.object.OpenMap('c:\test.ptm')

    I also perfomed a 'regsrv32 mappointcontrol.ocx', without any improvements.

    Thanks
    King regards
    Bruno

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: Mappoint Europe 2006 + Powerbuilder 10.5

    Hi Bruno,

    I found this article: Using MS MapPoint in PowerBuilder - MapPoint Articles - MP2K Magazine but it seems you do exacly the same.

  5. #5
    bruno is offline Junior Member White Belt
    Join Date
    Dec 2006
    Posts
    3

    Re: Mappoint Europe 2006 + Powerbuilder 10.5

    Indeed, that's the article I used to start from. (There's a similar article in the Powerbuilder Developer Journal : Using MS MapPoint in PowerBuilder @ POWERBUILDER DEVELOPER'S JOURNAL)

    I'll keep you informed in case I find a solution.

    Thanks a lot !
    Regards
    Bruno

  6. #6
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: Mappoint Europe 2006 + Powerbuilder 10.5

    Hi Bruno,

    I dont know if this is interesting for you, but I found 2 other threads here with some code samples.

    Geocoordinates from a waypoint
    displayDataMap question again

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Geocode/Mapping Issues - Mappoint 2006 Europe
    By sjhunt in forum MapPoint Desktop Discussion
    Replies: 24
    Last Post: 10-24-2007, 05:05 PM
  2. Importing new layers in Mappoint Europe 2006
    By Jama in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-30-2006, 03:10 PM
  3. Where is MapPoint 2006 Europe?
    By Anthony_Hunt in forum MapPoint Desktop Discussion
    Replies: 11
    Last Post: 09-06-2006, 03:34 PM
  4. Very simple question on MapPoint Europe 2006
    By davidb in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 08-24-2006, 01:27 PM
  5. Using OCX MapPoint control with PowerBuilder
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-07-2003, 11:53 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59