Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Severe situation on bug
Message
From
31/07/2001 12:00:34
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00537068
Message ID:
00537800
Views:
48
>>>In VFP 6 it will not hang up server. Take a look to the SYS(2335) function.
>>>If unattended mode is enabled, it will throw error #2031 User-interface operation not allowed at this time. That is why I suggested that this workaround might be used in your case.
>>
>>Under WWC, if I access a table which is not opened, the server will wait for someone to open a table. Do you know if the SYS(2335) is enabled under WWC?
>
>It is depended on the way you build application for WWC. There are 2 modes. 1 is when your EXE application runs constantly and waits for requests. In such case dialog box is possible. You can try to workaround this by putting KEYBOARD "{ESC}" and keep that Escape code in keyboard buffer all the time, so when dialog box appear it is immediately closed. Second mode is when your application is built as a COM server called by WWC. In such case you can use th unattended mode and forget about any hang ups by dialog boxes, messageboxes or other things in developers code.

We use the COM mode. So, by default WWC does not include the SYS(2335) command. If I understand correctly, I should add this at the upper level somewhere. Does that mean, if in the code, I forgot to open a tabe for example, this will never happen again as the control will be returned immediately at the error level?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform