I use teechart5(5,0,5,0/5,0,6,0).
In this case, you will see the error message.
"Error creating window device context."
1) Insert <teechart5> object into HTML.
2) Create any series(Bar/Line), and fill sample values in JavaScript.
3) Add Mark Tip Tool.
4) Execute this HTML page in 2 times without any action, you can see 2 browsers including <teechart5> object.
5) Float Mark Tip Tool with moving to Series Points in the second browser.
6) Close the second browser.
7) Execute 5) in the first browser.
8) You can see the error message.
This is a significant problem.
Do U have any solution ?
About the problem of Mark Tip Tool...
Anyone who have seen this error...
Isn't there the solution ?
Please give me answer of this topic...
There are no answer yet...
Hi,
I cannot reproduce the problem here using the TeeChart Pro v5.06. I've attached the example I've used in the steema.public.attachments newsgroup (with the steps I've done). Could you test if it works for you ?
I cannot reproduce the problem here using the TeeChart Pro v5.06. I've attached the example I've used in the steema.public.attachments newsgroup (with the steps I've done). Could you test if it works for you ?
Pep Jorge
http://support.steema.com
http://support.steema.com
"Error creating window device context." and Mark
I see this behavior in TeeChart AX v6.04 / VC++
Symptoms are:
- open first window that hosts TeeChart AX component ( Thread 1 )
- open second window that hosts TeeChart AX component ( Thread 2 )
- Move mouse over series points let's say in first window, TeeChart pops up Mark Tips.
- Close first window /This would close Thread 1/
- Move mouse pointer over series' points in second window - "Error creating window device content" message gets poped up.
Or, If I don't move mouse pointer over the series' points, but rather close window, then as soon as I call CoUninitialize() I get access violation error.
--------------------------------------------------------------
It seems like this Mark Tool Tip object is a singleton, and is NOT PROPERLY shared between instances of TeeChart that ARE RUNNING IN SEPARATE THREADS.
It seems to me Mark Tool Tip object gets created (allocates resources) in the context of a thread that creates it first. And when that thread is gone the trouble starts....
please, reply to [email protected] if there is an info on this subject
Symptoms are:
- open first window that hosts TeeChart AX component ( Thread 1 )
- open second window that hosts TeeChart AX component ( Thread 2 )
- Move mouse over series points let's say in first window, TeeChart pops up Mark Tips.
- Close first window /This would close Thread 1/
- Move mouse pointer over series' points in second window - "Error creating window device content" message gets poped up.
Or, If I don't move mouse pointer over the series' points, but rather close window, then as soon as I call CoUninitialize() I get access violation error.
--------------------------------------------------------------
It seems like this Mark Tool Tip object is a singleton, and is NOT PROPERLY shared between instances of TeeChart that ARE RUNNING IN SEPARATE THREADS.
It seems to me Mark Tool Tip object gets created (allocates resources) in the context of a thread that creates it first. And when that thread is gone the trouble starts....
please, reply to [email protected] if there is an info on this subject