Search found 382 matches

by Widgets
Wed Apr 29, 2020 7:31 pm
Forum: Compiler / Linking / IDE Related
Topic: debugrpt sample problems
Replies: 7
Views: 192

Re: debugrpt sample problems

FWIW: If you use VS anyway, i recommend crashrpt, much more powerful: http://crashrpt.sourceforge.net/ Finally got crashrpt installed, compiled and linked into one of my smallish test programs. It seems that the project is now abandon-ware and since my work with this code thus far has raised a numb...
by Widgets
Sun Apr 26, 2020 8:38 pm
Forum: Compiler / Linking / IDE Related
Topic: debugrpt sample problems
Replies: 7
Views: 192

Re: debugrpt sample problems

same issue with MSVC 2015 & 2017
Will look into crashrpt - had downloaded it some time ago, but never spent the time to test it and replace my existing code. Looks like now is the time to do so ;-)
Thank you all
by Widgets
Sun Apr 26, 2020 6:49 pm
Forum: Compiler / Linking / IDE Related
Topic: debugrpt sample problems
Replies: 7
Views: 192

Re: debugrpt sample problems

3.1.3 (32-bit) debug version shows the same problem, I'm afraid :-(
by Widgets
Sun Apr 26, 2020 2:45 am
Forum: Compiler / Linking / IDE Related
Topic: debugrpt sample problems
Replies: 7
Views: 192

Re: debugrpt sample problems

All libraries are built by myself, using the same IDE as for the samples All testing dome under the up-to-date Win 10 OS with an up-to-date MSVC community edition IDE the full stack trace at the time of the crash below - with the Exception message: Exception thrown at 0x76F341CA (kernel32.dll) in de...
by Widgets
Sat Apr 25, 2020 7:07 pm
Forum: Compiler / Linking / IDE Related
Topic: debugrpt sample problems
Replies: 7
Views: 192

debugrpt sample problems

After trying to use debug reporting & having issues with my own code - which follows the example in samples, I tried the sample project, but it will not run at all under MSVC 2019 IDE. Using any of the report options, it crashes with Exception thrown at 0x76F341CA (kernel32.dll) in debugrpt.exe: 0xC...
by Widgets
Mon Mar 30, 2020 1:46 pm
Forum: C++ Development
Topic: Communicate Back to thread
Replies: 8
Views: 488

Re: Communicate Back to thread

@DM & PB
Thank you both for the clarifications
by Widgets
Mon Mar 30, 2020 1:20 am
Forum: C++ Development
Topic: Communicate Back to thread
Replies: 8
Views: 488

Re: Communicate Back to thread

so the queue is really used mainly for feedback to the secondary thread and one still would need to use an event to initiate any action in the main thread, with possibly extra information via the queue?
by Widgets
Sun Mar 29, 2020 9:52 pm
Forum: C++ Development
Topic: Communicate Back to thread
Replies: 8
Views: 488

Re: Communicate Back to thread

I know this is an old thread, but rather than start over I would like to ask where in the main app one would wait for feedback from the secondary thread via the message queue?
Via events or in OnIdle, OnUiUpdate?
TIA
by Widgets
Wed Feb 12, 2020 4:35 pm
Forum: C++ Development
Topic: Intercept wxLogError calls
Replies: 7
Views: 259

Re: Intercept wxLogError calls

That may well be the best option :-)
For my current apps, I am really only interested in getting a thumbnail and checking for minimal compliance with the TIFF standards,
Will have to see if libtiff will give me that much. Though it would be preferable not to have to treat TIFFs as a special case.
by Widgets
Wed Feb 12, 2020 3:20 am
Forum: C++ Development
Topic: Intercept wxLogError calls
Replies: 7
Views: 259

Re: Intercept wxLogError calls

After implementing the sub-classed log code, I can intercept the error messages produced by calls to wxLogError & wxLogWarning by code deep inside wxImage:: LoadFile() but the calls to the intercept logic are delayed by way too much time to be usable in the code after the call to LoadFile() returns....
by Widgets
Thu Feb 06, 2020 9:27 pm
Forum: C++ Development
Topic: Intercept wxLogError calls
Replies: 7
Views: 259

Re: Intercept wxLogError calls

Initially, I had used wxLogNull, but I ended up with some very puzzling situations because of errors from deep within the wxWidgets code (failure to allocate enough memory) and that is what got me to this point. I do want/need to intercept these errors and display them to the user with more details ...
by Widgets
Thu Feb 06, 2020 2:53 am
Forum: C++ Development
Topic: Intercept wxLogError calls
Replies: 7
Views: 259

Re: Intercept wxLogError calls

Thank you. I'll have to wrap my head around all of this; fortunately it triggered some memories of another wxLog related issue - years ago - where I needed to filter out only certain messages; see the earlier discussion: https://forums.wxwidgets.org/viewtopic.php?t=44070 As time permits, I will try ...
by Widgets
Wed Feb 05, 2020 11:52 pm
Forum: C++ Development
Topic: Intercept wxLogError calls
Replies: 7
Views: 259

Intercept wxLogError calls

In my current app I need to analyze images of various formats and sizes. All regular app error messages are redirected to a log window -> wxTextCtrl. The problem I am running into for some large image files, mainly 50 - 100 MB TIF files, is, that the image handler code does not succeed in allocating...
by Widgets
Mon Feb 03, 2020 10:45 pm
Forum: C++ Development
Topic: wxListCtrl ->EnableAlternateRowColours fails
Replies: 9
Views: 295

Re: wxListCtrl ->EnableAlternateRowColours fails

Thank you both,
Fortunately, it is only Windows I am concerned about, it is a purely 'local' utility.
As for the 'gotcha', I'll have to consider if it is important enough and then which way to go.
Then again, it might be 'educational' to try it.
by Widgets
Mon Feb 03, 2020 8:29 pm
Forum: C++ Development
Topic: wxListCtrl ->EnableAlternateRowColours fails
Replies: 9
Views: 295

Re: wxListCtrl ->EnableAlternateRowColours fails

Is there any way I can force the zebra striping or do I need to manage it myself when the list is redrawn? or using UpdateUI? EraseBackground?
It all works OK, if I disable the assert line, but, of course, no striping :-(