Search found 460 matches
- Thu Dec 03, 2009 3:09 pm
- Forum: C++ Development
- Topic: wxString in .cpp in dll causes heap error
- Replies: 4
- Views: 1185
thanx for your thought! but i still do not understand, why it works in the .h and not in the .cpp file. it does not change a thing if i use wxString string("test", wxConvUTF8); setStrg(string); instead. what you recommend is exactly what i did. first have everything in the application, then in the d...
- Thu Dec 03, 2009 10:45 am
- Forum: C++ Development
- Topic: wxString in .cpp in dll causes heap error
- Replies: 4
- Views: 1185
wxString in .cpp in dll causes heap error
i dont get it: i have a simple object in a statically linked dll like this: class DECLDIR test{ public: test(wxString _str); ~test(){}; protected: void setStrg(wxString _string) { str = _string; } wxString str; }; while DECLDIR is #ifndef DLL_EXPORT #define DECLDIR __declspec(dllimport) #else #defin...
- Mon Nov 30, 2009 2:03 pm
- Forum: Compiler / Linking / IDE Related
- Topic: R6034 with WXUSINGDLL
- Replies: 2
- Views: 960
ok problem solved, although i am not sure why. one of the two dlls was linking into the $(WXWIN)/lib/vc_ lib and the other into $(WXWIN)/lib/vc_ dll . same difference with the $(WXADDITIONS)/lib/vc_lib folder. changing both to link into the lib folder solved the problem. i had overlooked this small ...
- Mon Nov 30, 2009 1:00 pm
- Forum: Compiler / Linking / IDE Related
- Topic: R6034 with WXUSINGDLL
- Replies: 2
- Views: 960
- Mon Nov 30, 2009 10:19 am
- Forum: Compiler / Linking / IDE Related
- Topic: R6034 with WXUSINGDLL
- Replies: 2
- Views: 960
R6034 with WXUSINGDLL
hi everybody! i am writing a wxWidgets dll and to compile it, i have to use the preprocessor symbol WXUSINGDLL to get rid of a "LNK2001: unresolved external symbol "char const * const wxEmptyString"" error. now when i try to use this dll for testing with the wxWidgets grid sample, i get this: Debug ...
- Tue Jun 09, 2009 1:13 pm
- Forum: C++ Development
- Topic: dc tutorial clipping when resizing
- Replies: 1
- Views: 485
dc tutorial clipping when resizing
hi, i wanted to understand how redrawing and resizing work by customizing the very simple tutorial http://zetcode.com/tutorials/wxwidgetstutorial/gdi/ the problem is that the line is cut off when i maximaize the window. the direction is correct, but the line is no longer than the size of the device ...
- Tue May 26, 2009 7:49 am
- Forum: Compiler / Linking / IDE Related
- Topic: LNK2019 and WX_DEFINE_EXPORTED_ARRAY
- Replies: 4
- Views: 876
- Mon May 25, 2009 3:41 pm
- Forum: Compiler / Linking / IDE Related
- Topic: LNK2019 and WX_DEFINE_EXPORTED_ARRAY
- Replies: 4
- Views: 876
- Mon May 25, 2009 2:27 pm
- Forum: Compiler / Linking / IDE Related
- Topic: LNK2019 and WX_DEFINE_EXPORTED_ARRAY
- Replies: 4
- Views: 876
LNK2019 and WX_DEFINE_EXPORTED_ARRAY
hi everyone, i am trying to build a wxWidgets dll and get the following error: 1>bundle.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class libdf::DTube * & __thiscall libdf::ArrayOfDTube::Item(unsigned int)const " ([email protected] as far as i understand thi...
- Fri May 22, 2009 8:55 am
- Forum: General Development
- Topic: Event from external library
- Replies: 6
- Views: 1541
Hi upCASE, I have the exact same problem and I only work under Windows. Could you be so kind and elaborate this a bit more? If you can use system specific event, this is another good option as well. On Windows you could simply register an event type and post that. The application would need to check...