Why disables my program Drag&Drop after running some time ?
-
It seems like that one of my programs disables Drag&Drop after running some time on a Win2000 machine, i've seen it also on one Win98 machine, but its running without this problem on 100's of other installations ? This happens if a user is working for some time with the program, he's doing nothing special, but than "double click" and Drag&Drop on the desktop isnt working anymore. If you stop the program in this situation you can not restart this programm, but you get the following windwos message "Windows Explorer - Unable to run this command" Only a windows-restart solves the problem
-
It seems like that one of my programs disables Drag&Drop after running some time on a Win2000 machine, i've seen it also on one Win98 machine, but its running without this problem on 100's of other installations ? This happens if a user is working for some time with the program, he's doing nothing special, but than "double click" and Drag&Drop on the desktop isnt working anymore. If you stop the program in this situation you can not restart this programm, but you get the following windwos message "Windows Explorer - Unable to run this command" Only a windows-restart solves the problem
At the moment problem occurs 1. Start Task Manager 2. View->SelectColumns. Select "USER Objects", "Handle Count", "Thread count", "GDI Object" 3. Note the numbers for each of the columns above Repeat the test, see if you reach a "limit" on any of them. Limits are not documented in MSDN, but I know for sure "USER Objects" can not be more than 10000. I suspect that other columns have some kind of limit per process as well. Watch memory usage as well.
-
At the moment problem occurs 1. Start Task Manager 2. View->SelectColumns. Select "USER Objects", "Handle Count", "Thread count", "GDI Object" 3. Note the numbers for each of the columns above Repeat the test, see if you reach a "limit" on any of them. Limits are not documented in MSDN, but I know for sure "USER Objects" can not be more than 10000. I suspect that other columns have some kind of limit per process as well. Watch memory usage as well.
thanks, i've already done that, all this values remain more or less the same. 150 handles, 150 user objects, 6 threads, 300 gdi. memory is growing a little bit, but not as much that this could be the problem. the other problem is that i cannot reproduce this problem on one of my machines, but some of my costumers can do that. ok i can ask them to send me there resources if this problem occurs. any other ideas, dll's, i've static linked the mfc libs.