>x = create("myvfpserver.class)
>x.opentables
>
>and then do:
>
>y = create("myvfpserver.class)
This is not officially supported by VFP 5.0. The reason is that that VFP
is not thread safe and corrupts global data between sessions. You may
remember my advice a while back to not run VFP 5 components in MTS -
this is why. I think this didn't even work in the original VFP5 versions.
Creating a second instance would create an error - I think that was
changed in one of the service packs (SP3 I'm guessing).
VFP 6.0 addresses this problem, although not very well. You can create
multiple instances in VFP 6 and keep things private. But, you can't
call methods of your server simultaneously - they block while another
call is active and are essentially serialized.
+++ Rick ---