Malcolm Nealon wrote: > Unless you can test it before me. > It makes no difference, i am starting to think the compiler in wxDeevCpp is just better.
Like in the next code: In gen.h: // Some predefined property IDs A2DGENERALDLLEXP_DATA(extern const a2dPropertyIdString) PROPID_URL; In gen.cpp: //THE FIRST TWO are OKE when running a sample. a2dPropertyIdString PROPID_URL2( "sssuuaap", wxT("URL"), a2dPropertyId::flag_none, wxT("") ); const a2dPropertyIdString PROPID_URL3( "swssuuaap", wxT("wURL"), a2dPropertyId::flag_none, wxT("") ); //BUT GLOBAL ONE FROM gen.h IS NOT const a2dPropertyIdString PROPID_URL( "sssuuaap", wxT("URL3"), a2dPropertyId::flag_none, wxT("") ); So it seems that the fact that its global or not can lead to initialization problems. It makes no sence to me. I doing all my test on wxArt2D/test/tilestest. Klaas ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev