Why any application get hangs.
-
-
Hi all, Why a Application get hangs. I am working witha MFC dialog Based application. When I try to use controls on dialog box , application gets hang. No Abort, nothing only Hanging. Can Any one tell me why this will happend. Thanking You. Sheshidar
sheshidar wrote:
Why any application get hangs.
Did you check that whether there is a thread that lock's itself or some infinite while loop that you are using in your code. If you can post some code relevant to your application and this query you are more likely to get to the solution.
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
sheshidar wrote:
Why any application get hangs.
Did you check that whether there is a thread that lock's itself or some infinite while loop that you are using in your code. If you can post some code relevant to your application and this query you are more likely to get to the solution.
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
Hi all, Why a Application get hangs. I am working witha MFC dialog Based application. When I try to use controls on dialog box , application gets hang. No Abort, nothing only Hanging. Can Any one tell me why this will happend. Thanking You. Sheshidar
Can you be more specific can you show snippet code
_**
**_
WhiteSky
-
Thx very much for ur reply. I am getting this problem when data sharing between control and member variable.
are you copying/sharing data in a while loop . It could be an infinite loop. Can you post some code...
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
Can you be more specific can you show snippet code
_**
**_
WhiteSky
Code is very lengthy. I can write more specific. I had create 2 dialog boxes. First I had create one more dialog box with splitters, then i showed these first two dialogs in splitters. I accessed the controls on dialogs from the third dialog box. Now I used Tab Control instead of splitter plane. Then start problem. I am able to see the two dialogs in diferent tabs but not able to access them. When I tried to access them then application get hangs.
-
are you copying/sharing data in a while loop . It could be an infinite loop. Can you post some code...
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
Code is very lengthy. I can write more specific. I had create 2 dialog boxes. First I had create one more dialog box with splitters, then i showed these first two dialogs in splitters. I accessed the controls on dialogs from the third dialog box. Now I used Tab Control instead of splitter plane. Then start problem. I am able to see the two dialogs in diferent tabs but not able to access them. When I tried to access them then application get hangs.
How to access to dialogs and whats error?
_**
**_
WhiteSky
-
Code is very lengthy. I can write more specific. I had create 2 dialog boxes. First I had create one more dialog box with splitters, then i showed these first two dialogs in splitters. I accessed the controls on dialogs from the third dialog box. Now I used Tab Control instead of splitter plane. Then start problem. I am able to see the two dialogs in diferent tabs but not able to access them. When I tried to access them then application get hangs.
sheshidar wrote:
not able to access them
What do you mean by not able to access them. How are you creating the third dialog. Modal or modeless?
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
sheshidar wrote:
not able to access them
What do you mean by not able to access them. How are you creating the third dialog. Modal or modeless?
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_