USE foo EXCLThis works in instance 2:
TRY USE foo SHARED CATCH TO ww MESSAGEBOX('Problem! You got error # ' + ALLTRIM(STR(ww.errorno))) ENDTRYHOWEVER when instance 1 says:
USE foo flock()the 2nd instance just hangs with the following message in the status bar:
Attempting to lock... Press <esc> to cancelHow can I handle that situation gracefully with TRY..CATCH? I need this since the other system seems to be doing something like flock() and there's no way I can get the user to change the program.