Unhandled exception at() fonctionner une app utilisant le Mapnik)

This is a discussion on Unhandled exception at() fonctionner une app utilisant le Mapnik) within the C++ Programming forums, part of the General Programming Boards category; Salut je suis un débutant dans la programmation C++ et je veut fonctionner une application C++ appelant d'une librairie open ...

  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    1

    Unhandled exception at() fonctionner une app utilisant le Mapnik)

    Salut
    je suis un débutant dans la programmation C++
    et je veut fonctionner une application C++ appelant d'une librairie open source Mapnik
    (pas mieux que le demo/C++ dans le mapnik0_7)
    tout va bien mais elle se bloque au niveau de ce code
    ....
    Map m(800,600);
    m.set_background(color_factory::from_string("white "));
    ......
    ...
    m.insert_style("provinces",provpoly_style);

    et il me génere le message suivant

    Unhandled exception at 0xbff00000 in MonPremier.exe: 0xC0000005: Access violation reading location 0xbff00000.

    d'ou provient ce message ? comment le résoudre?

    merci pour vos contrubitions

  2. #2
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,452
    This is an english discussion board. As thus, you are expected to post your replies in english, if you want help.

    Furthermore, from your post, it isn't obvious what the error is. You cannot just throw some random code on us and expect us to tell you what's wrong.
    Let's this this again. Post the smallest possible snippet of code that demonstrates the problem and post in english.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Oct 2008
    Posts
    1,262
    This is an english forum, please post your question in english.

    But there's nothing wrong with the code you copied, not as far as I know at least (I don't know the library you are using). What does provpoly_style point to? Is it a pointer?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Unhandled exception
    By Gordon in forum Windows Programming
    Replies: 13
    Last Post: 06-25-2008, 06:37 AM
  2. Replies: 3
    Last Post: 11-11-2006, 05:46 PM
  3. unhandled exception error
    By trends in forum C++ Programming
    Replies: 4
    Last Post: 11-15-2002, 05:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21