Fellows,
same nuisance again, Dr. Watson error. As before, it gives me two message boxes, one of them reading the same:
"<process has already exited> has generated errors and will be closed by Wondows. You will need to restart the program. An error log is being created." - under the banner "Program error";
And another one, reading this time:
"Dr. Watson was unable to attach to the process. It's possible that process exited before Dr. Watson could attach to it.
Windows 2000 returned error code = 87
The parameter is incorrect" - under the banner "DrWatson Fatal Error".
Program is written in VFP 7.0 SP1.
Hard as I tried I could not determine what exactly parameter this thingy is talking about. My program exits by just QUIT after
statements.
This nuisance happens only on WinNT 5 machines (regardless of the SP installed) and never on Win95...WinME, neither on WinNT 4 or WinXP.
Redirecting the TEMP and TMP environment variables to point onto WinNT\Temp folder (instead of pointing onto \Documents and Settings folder) helped only to a certain extent. Dr. Watson error does not spring up if you launch the program, play with it for a short time (3-5 minutes) and exit.
If you stay in the program for extended time (say 15 minutes or more) it may or may not give you this error.
But for the 2nd, or 3rd, or Nth time it will happen for sure.
I think it has something to do with the memory allocation and/or usage in these WinNT 5, but I cannot say it for sure.
Any hints, anybody? Or any tools in VFP 7.0 for determining the bottleneck in my program that possibly can cause this behavior?
Regards,
Ilya
same nuisance again, Dr. Watson error. As before, it gives me two message boxes, one of them reading the same:
"<process has already exited> has generated errors and will be closed by Wondows. You will need to restart the program. An error log is being created." - under the banner "Program error";
And another one, reading this time:
"Dr. Watson was unable to attach to the process. It's possible that process exited before Dr. Watson could attach to it.
Windows 2000 returned error code = 87
The parameter is incorrect" - under the banner "DrWatson Fatal Error".
Program is written in VFP 7.0 SP1.
Hard as I tried I could not determine what exactly parameter this thingy is talking about. My program exits by just QUIT after
Code:
ON KEY
CLOSE DATA ALL
SET PROCEDURE TO
SET LIBRARY TO
CLEAR DLLS
= SYS(1104)
RELEASE ALL EXTENDED LIKE gl*, gc*, go*, frm*
ON ERROR
This nuisance happens only on WinNT 5 machines (regardless of the SP installed) and never on Win95...WinME, neither on WinNT 4 or WinXP.
Redirecting the TEMP and TMP environment variables to point onto WinNT\Temp folder (instead of pointing onto \Documents and Settings folder) helped only to a certain extent. Dr. Watson error does not spring up if you launch the program, play with it for a short time (3-5 minutes) and exit.
If you stay in the program for extended time (say 15 minutes or more) it may or may not give you this error.
But for the 2nd, or 3rd, or Nth time it will happen for sure.
I think it has something to do with the memory allocation and/or usage in these WinNT 5, but I cannot say it for sure.
Any hints, anybody? Or any tools in VFP 7.0 for determining the bottleneck in my program that possibly can cause this behavior?
Regards,
Ilya