hi
i am drawing a graph with values more than lakhs. i m drawing it in 4 different parts parallelly. it works f9. it contains two forms 1st one is opening the file and the second one is storring the values in variables and plotting it.
but the problem is when second form runs first timei.e. when the graph is plotted for the first time and the second form closses, the system hangs in the middle if the graph is drawn for the second time.
also it works fine when the whole debugging is cancelled and the program is runed again.
i hope i made the problem understood...
thanxxx

Recommended Answers

All 2 Replies

Hanging is often a sign you entered an endless loop somewhere.
Without some code from you, it is hard to tell if it is.

As ddanbe mentioned, its better you post the code as well.
Few things, I would like to ask:
Are you plotting on threads?
Have you checked for deadlocks? It seems you are not freeing up resource, which on second run, is causing application to hangup.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.