Re: Help with libglademm/xml.h



libglade/libglademm isn't a library for generic parsing of XML. You would want to look at libxml2, or libxml++ instead.

2008/6/17, Filipe Apóstolo <f apostolo cbr gmail com>:
Hi,
Im creating a project with three compontents  the  first  component  is
a mathematical  library  that uses not gtkmm it will work in a low level.
The second part is an API software that will create a XML  file with all
user options.

The third part is an software that will read the XML file and calls /
creates the objects from the first component.

The matematical library is done, tested and well working.
The API its done,tested and working and it creates the XML files well, I
can load and save as i wont.

The PROBLEM cames when i want to create the third component. Because i
dont want to use windows API (only the console as it wold't heave GTKMM), so to use  <libglademm/xml.h> to load and parse the XML file from the API, when i compile it says that it doesent find the headers, I solved including the the configuration files in the properties as i was creating a normal GTKMM project. BUT without calling nothing from the libraries, only doing a switch wiht some test options (with Couts<< ) and a option to exit of the program, the program works well but breaks/crashes when i exit ( befoure including and after removing the configuration files it doesent happen).

Because it only crashed when i wanted to exit i thought in continuing
and try to use the xml functions. Whwn I only use the function to save the XML file it works, but the program crashes right after opening the XML file, whitout doing nothig only call the function to parse it.

Can anyone tell me what can it be?
Should include the path manualy?(I want to avoid this option :-)  )
Or anyone knows a XML library for c++ similar to the libglademm/xml.h
and think that this is the better option.

But i think that it must to work normaly this crashes makes no sense to me.

I'm using windows XP and VisualStudio2005
Thanks in advance
Filipe Apóstolo



_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]