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 3 of 3

Access Violations on exit in delphi

This is a discussion on Access Violations on exit in delphi within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have am application built in delphi using the mappoint control. I have had av's on exit most through most ...

  1. #1
    matt1168 is offline Junior Member Yellow Belt
    Join Date
    Jul 2003
    Posts
    14

    Access Violations on exit in delphi

    I have am application built in delphi using the mappoint control. I have had av's on exit most through most of the app's development now trying to fix it. When the application loads it loads up and loads either the EU or USA map. If you use the map its fine, if you click on any of the speed butons its fine, but when you click on a normal button, edit box or any component that can have focus the software pauses for a few seconds, in task manager mappoint goes from using 22mb to using about 120mb. It does this every time. If i exit after this has occured then i get 3 Access Violations usualy at the same address every time. If i just load the program look around the map and then exit it exits cleanly.

    Any ideas?

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    In the FormMain.FormClose event do you free all your controls, like myMainMenu.Free? Perhaps this helps avoiding access violations.

    Greetings, Jack.

  3. #3
    rbarthels is offline Member Green Belt
    Join Date
    Nov 2002
    Posts
    52
    I had the same. I solved it by setting

    FMAP:=NIL

    in the destructor or FormClose.

    Rainer

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Search by highway exit numbers
    By payers24 in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 08-30-2005, 03:29 PM
  2. Web service with delphi
    By Anonymous in forum Bing Maps and MapPoint Web Service
    Replies: 1
    Last Post: 11-10-2004, 09:43 AM
  3. Delphi
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 12-18-2003, 12:11 PM
  4. Motorway/Road Junction/Exit numbers MP2004 (ALL OF EUROPE!)
    By daxydoggie in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 11-25-2003, 11:45 AM
  5. Freeway Exit Numbers
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 10-24-2002, 03:43 PM

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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96