Search found 9 matches
- Mon Mar 07, 2011 12:40 pm
- Forum: Compiler / Linking / IDE Related
- Topic: static and dynamic linking of an application
- Replies: 8
- Views: 1484
On Mac and on Windows XP the first call of to a wxWidgets method of the loaded (and statically linked) plugin leads to an segmentation fault and yet I do not understand why. If you statically linked wxWidgets with both the main app and your dll, you have two distinct instances of wxWidgets. Did you...
- Sat Mar 05, 2011 6:36 pm
- Forum: Compiler / Linking / IDE Related
- Topic: static and dynamic linking of an application
- Replies: 8
- Views: 1484
Obviously things might vary from platform to platform... So on Ubuntu I have no problems at all. I can link the plugin statically and load it into the (static linked) main application. On Mac and on Windows XP the first call of to a wxWidgets method of the loaded (and statically linked) plugin leads...
- Fri Mar 04, 2011 3:47 pm
- Forum: Compiler / Linking / IDE Related
- Topic: static and dynamic linking of an application
- Replies: 8
- Views: 1484
Yeah, thats why I finally linked both (main and plugin) against the dynamic dll wxWidgets versions. BUT: Actually I preferred to have a static main application to distribute in order to avoid to supply individual widgets dlls to the end user; except for those I myself developed as loadable modules h...
- Fri Mar 04, 2011 3:17 pm
- Forum: Compiler / Linking / IDE Related
- Topic: static and dynamic linking of an application
- Replies: 8
- Views: 1484
Is this possible? Yes, for sure :-) Well, on WinXP using wxPack it is - so far - not possible. If I build the main application static and the loadable plugin static, the programm simply crashes when I try to load the plugin. Wenn I compile the plugin against the dll-version of wxWidgets, the load d...
- Fri Mar 04, 2011 2:58 pm
- Forum: Compiler / Linking / IDE Related
- Topic: static and dynamic linking of an application
- Replies: 8
- Views: 1484
static and dynamic linking of an application
Hi,
I have a very basic question regarding the possibility to load dynamic applications (wxDynamicLibrary) into a statically linked wxWidgtes Application.
Is this possible?
If yes which (gcc) linker options are necessary on MAC and Windows?
Thanks a lot!
Anja
I have a very basic question regarding the possibility to load dynamic applications (wxDynamicLibrary) into a statically linked wxWidgtes Application.
Is this possible?
If yes which (gcc) linker options are necessary on MAC and Windows?
Thanks a lot!
Anja
- Thu Apr 24, 2008 10:58 am
- Forum: C++ Development
- Topic: wxString ToDouble precision
- Replies: 5
- Views: 854
- Thu Apr 24, 2008 8:12 am
- Forum: C++ Development
- Topic: wxString ToDouble precision
- Replies: 5
- Views: 854
- Thu Apr 24, 2008 7:44 am
- Forum: C++ Development
- Topic: wxString ToDouble precision
- Replies: 5
- Views: 854
Actually this seems to be a plain c++ float/double precision issue: float a; a = 0.1; ------> results to a = 0.100000001 double c; c= 0.1; ------> results to a = 0.10000000000000001 double e; e = 100.0/1000.0; ------> results to a = 0.10000000000000001 Has anybody a hint how to get rid of this impre...
- Thu Apr 24, 2008 6:58 am
- Forum: C++ Development
- Topic: wxString ToDouble precision
- Replies: 5
- Views: 854
wxString ToDouble precision
Hi, I am using the unicode version of wxWidgets 2.8.7 on Linux. The "ToDouble" conversion method shows a strange behavior: wxString test ("1.0"); double testd; test.ToDouble(&testd); ----> testd will have a value of 1 wxString test ("1.1"); double testd; test.ToDouble(&testd); ----> testd will have ...