Search found 5 matches

by Delphi
Fri Jun 29, 2012 3:12 pm
Forum: .NET
Topic: Red cross will be drawn sometimes
Replies: 9
Views: 13852

Re: Red cross will be drawn sometimes

Hello Sandra, hello DaveR, I found a few TextEdit-controls which got data from another thread and I check they now with InvokeRequired etc. The software is running now, after the weekend I will see the result. @Sandra: How the teeChart series will re-act with date from another thread? In the code sn...
by Delphi
Thu Jun 28, 2012 3:14 pm
Forum: .NET
Topic: Red cross will be drawn sometimes
Replies: 9
Views: 13852

Re: Red cross will be drawn sometimes

Hello DaveR, thanks for your help. The problem is, I don't know whether the red-cross-error has a relation to the 'System.Drawing.Graphics.FromHdcInternal(IntPtr hdc)'-error (GDI-Error). I searched for a possible reason for the red-cross-error and so I found - with your help - the GDI-error. Last ni...
by Delphi
Thu Jun 28, 2012 7:21 am
Forum: .NET
Topic: Red cross will be drawn sometimes
Replies: 9
Views: 13852

Re: Red cross will be drawn sometimes

Hello Sandra, hallo DavR, thanks for your replys. I logged Threadexceptions now as DavR recommend and I got the following stack trace, a few times: at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc) at System.Drawing.BufferedGraphicsContext.CreateBuffer(IntPtr src, Int32 offsetX, Int32 offsetY, ...
by Delphi
Tue Jun 26, 2012 7:29 am
Forum: .NET
Topic: Red cross will be drawn sometimes
Replies: 9
Views: 13852

Re: Red cross will be drawn sometimes

Thank you for your reply.
As I understand the procedures log unhandled exceptions, which will be displayed on screen and lead to the termination of the application.
In my case no exception will be thrown.
Is there a way to find out whether the TeeChart methods work correct/lead to internal errors?
by Delphi
Mon Jun 25, 2012 10:05 am
Forum: .NET
Topic: Red cross will be drawn sometimes
Replies: 9
Views: 13852

Red cross will be drawn sometimes

I get a very unclear error. Sometimes in a chart appears a red cross. The chart is running over a long time, but after hours or days the red cross will be drawn. Theres is no exception, the software is still running, but the chart does not work after this red-cross-error. It seems, that the chart wi...