I have written quite a large control application that occasionally for no apparent reasons exhibits a lack of resources (slowing down and white boxes appearing instead of controls). I can't pin down what is happening as it only happens now and then when I am not there! The computer is restarted each day (Win2000).
Is there a simple way of indicating on a vb6 form the available resources like the Microsoft resource meter? I could then store a progressing report for later.
This would be handy to spot problems before they become a real problem and freeze the computer in the middle of an operation.
I have used the API routine that tells you remaining available physical memory for memory leaks but this does give me the resources leakage which may be due to a routine calling itself in certain circumstances or other reason.
It is possible to have considerable physical memory remaining but no resources left.
I have 5 coms ports and 17 TCPIP ports controlling other computers all operating randomly at once and I suspect it might be one com port sub running while another is in the middle of accumulating it's data into a string. While I have all variables independent I hope this is not another microsoft fault!
Thanks Ted
Is there a simple way of indicating on a vb6 form the available resources like the Microsoft resource meter? I could then store a progressing report for later.
This would be handy to spot problems before they become a real problem and freeze the computer in the middle of an operation.
I have used the API routine that tells you remaining available physical memory for memory leaks but this does give me the resources leakage which may be due to a routine calling itself in certain circumstances or other reason.
It is possible to have considerable physical memory remaining but no resources left.
I have 5 coms ports and 17 TCPIP ports controlling other computers all operating randomly at once and I suspect it might be one com port sub running while another is in the middle of accumulating it's data into a string. While I have all variables independent I hope this is not another microsoft fault!
Thanks Ted