It looks from my testing like the class properties are contained within each thread, but that the public variables are shared between the two threads.
Anyone have experience with this? And...is there any way to suppress this behavior, so that public variables are not shared between threads? Although it seems that could be really useful, I'm working with a large legacy app strewn with public variables that must retain their values in their own threads (and I'd really don't want to rewrite it to change the publics to properties).
Are you using the vfpt.dll runtimes? They should not share global vars although some VFP system vars are in fact shared.
+++ Rick ---
| Rick Strahl West Wind Technologies Where do you want to surf today? | Reader Version: 5.0 |
from Maui, Hawaii