Computer stops after loads form

I'm facing a rather strange problem: I've got a form wich calls another form. When I call this second form, the computer (not only VFP)stops at the last comand line in the Load method. No matter what this last line is. But it only happens if I've realized some operation before I do it. Otherwise it runs Ok.

I'm using VFP6.0 and SQLServer 7.0. The Load method uses "CREATE CURSOR" and "SQLEXEC" commands only.

Thanks in advance for any help.



Answer this question

Computer stops after loads form

  • Anthony Whalley

    I find out what was happenning. Looks like VFP6 may find problems with the virtual math coprocessor. I've just stoped the coprocessor and everything's copacetic again.

    Problem is: seems VFP9 wont run without the coprocessor. But that's something I'm gonna have to work around later.


  • JEP8979

    Oddly enough this happened to me yesterday! The only thing I could do was a cold re-boot of the machine.

    The cause was a bad SQLEXEC call that somehow put SQL Server into an endless loop and blocked all other processes in VFP (including the windows Task Manager - which could not shut VFP down).

    Since you say that "But it only happens if I've realized some operation before I do it. " I would suggest you check that operation very carefully! Something is clearly wrong with your code/syntax - maybe as simple as an invalid parameter (which is what I think caused my problem).



  • Computer stops after loads form