Search found 458 matches
- Tue Mar 27, 2012 2:34 pm
- Forum: C++ Development
- Topic: wxDynamicLibrary::Load() does not work anymore
- Replies: 6
- Views: 2238
Re: wxDynamicLibrary::Load() does not work anymore
doublemax, thanx for your idea. the path is correct. when i change my code to #include "mnml_app.h" #include <wx/dynlib.h> #include <wx/stdpaths.h> #include <wx/file.h> bool App::OnInit() { wxString path = wxStandardPaths::Get().GetExecutablePath().BeforeLast('\\') + _("\\myDll.dll"); if(wxFile::Exi...
- Tue Mar 27, 2012 1:42 pm
- Forum: C++ Development
- Topic: wxDynamicLibrary::Load() does not work anymore
- Replies: 6
- Views: 2238
wxDynamicLibrary::Load() does not work anymore
hi, in my application i had some code that used to work fine. some months ago i deactivated it with a comment and now that i want to ude it again it does not work anymore. in the meantime i switched from wxWidgets 2.8.12 to 2.9.1 and from xp to win7, but i already tested in the old configuration and...
- Tue Feb 07, 2012 4:00 pm
- Forum: Compiler / Linking / IDE Related
- Topic: load wxWidgets symbols
- Replies: 6
- Views: 1810
Re: load wxWidgets symbols
thanx doublemax! while i was trying to compile a static linking version of wxwidgets, i came across a hint in http://wiki.wxwidgets.org/Microsoft_Visual_C%2B%2B_Guide#Version_information saying that wxWidgtes 2.8 does not yet support vs2010. i did not mention before that i was using wxwidgets 2.8.11...
- Tue Feb 07, 2012 11:03 am
- Forum: Compiler / Linking / IDE Related
- Topic: load wxWidgets symbols
- Replies: 6
- Views: 1810
Re: load wxWidgets symbols
thanx for your reply! i am not sure if i understand. in visual studio i changed c++->code generation->runtime library from \MDd to \MTd for the exe and all my dlls, but still i get the "no symbols loaded for wxmsw28ud_core_vc_custom.dll" entries in my call stack when i pause the exe. is there anythi...
- Tue Feb 07, 2012 10:07 am
- Forum: Compiler / Linking / IDE Related
- Topic: load wxWidgets symbols
- Replies: 6
- Views: 1810
Re: load wxWidgets symbols
has anyone any information about this?
- Tue Dec 13, 2011 3:30 pm
- Forum: C++ Development
- Topic: wxPrintPaperType in access violation
- Replies: 5
- Views: 1516
Re: wxPrintPaperType in access violation
here is the surrounding code: void PlotterBaseCont::doStepDirectly( int start, int stop ){ wxMemoryDC *sigMdc = new wxMemoryDC(); // <- the error occurs here if(sigMdc->IsOk()){ allBtmpCritSec->Enter(); sigMdc->SelectObject(*getAllBitmap()); doStep(start, stop, *sigMdc); sigMdc->SelectObject(wxNullB...
- Tue Dec 13, 2011 2:47 pm
- Forum: C++ Development
- Topic: wxPrintPaperType in access violation
- Replies: 5
- Views: 1516
Re: wxPrintPaperType in access violation
windbg shows me the line wxMemoryDC *sigMdc = new wxMemoryDC(); , so I guess the error occurs somewhere else and it just shows here. maybe there is a memory leak and wxMemoryDC is the place where it shows because it allocates a lot of memory?!? if the error should occur someplace else, how can i fin...
- Tue Dec 13, 2011 10:32 am
- Forum: C++ Development
- Topic: wxPrintPaperType in access violation
- Replies: 5
- Views: 1516
wxPrintPaperType in access violation
hi everyone, i am hunting a strange error that seems to be wx related, at least is sais something about wxPrintPaperType. does anyone have an idea about this? ======================================= VERIFIER STOP 00000002: pid 0x79C: Access violation exception. 11932FD4 : Invalid address causing the...
- Tue Nov 01, 2011 5:03 pm
- Forum: C++ Development
- Topic: wxSortedArray not resorted when item modified
- Replies: 5
- Views: 984
Re: wxSortedArray not resorted when item modified
thank you for your answer! thing is, it sais in the docs for wxArray::Sort wxSortedArray doesn't have this function because it is always sorted. so, this is kinda awkward, don´t you think? how can one keep it sorted then? probably not using a wxSortedArray at all? i cannot imagine that i am the firs...
- Tue Nov 01, 2011 3:06 pm
- Forum: C++ Development
- Topic: wxSortedArray not resorted when item modified
- Replies: 5
- Views: 984
Re: wxSortedArray not resorted when item modified
basically i have a simple WX_DEFINE_SORTED_ARRAY(Object*, ArrayOfObjectPointers); ArrayOfObjectPointers *arr= new ArrayOfObjectPointers(compareObjectsByP); arr->Add(new Objekt(20)); arr->Add(new Objekt(10)); int first = arr->Item(0)->p; // first == 10 (correct) arr->Item(0)->p = 30; // now it should...
- Tue Nov 01, 2011 2:18 pm
- Forum: C++ Development
- Topic: wxSortedArray not resorted when item modified
- Replies: 5
- Views: 984
wxSortedArray not resorted when item modified
hi everyone, i have a wxSortedArray with pointers to objects. these objects are compared by their property p and the compare function works. whenever i add an item to the array, it gets added at the right position. the problem is, whenever i modify p of any objekt, the array does not get resorted! i...
- Thu Oct 27, 2011 4:51 pm
- Forum: Compiler / Linking / IDE Related
- Topic: load wxWidgets symbols
- Replies: 6
- Views: 1810
Re: load wxWidgets symbols
is is possible at all to load wxWidgets symbols?
- Wed Oct 26, 2011 8:57 am
- Forum: Compiler / Linking / IDE Related
- Topic: load wxWidgets symbols
- Replies: 6
- Views: 1810
load wxWidgets symbols
hi everyone, i am having trouble loading wxWidgets symbols in vidual studio 2010 pro. i.e. in the call stack i have the entry "wxbase28ud_vc_custom.dll!007ab029()" in light grey, meaning the symbols were not loaded. i have the option of loading them with right click, but the error message pops up "t...
- Fri Feb 18, 2011 12:01 pm
- Forum: C++ Development
- Topic: showModal, but click on wxDC in main window
- Replies: 5
- Views: 1456
for those with this problem, wxWindowDisabler did not work, because i wanted to have an underlying nested wxWindow handle mouse clicks. wxWindowDisabler disables all of the parents of the nested window, so no mouse click came through. the solution was to recursively disable all parents and all of th...
- Wed Feb 16, 2011 2:54 pm
- Forum: C++ Development
- Topic: showModal, but click on wxDC in main window
- Replies: 5
- Views: 1456