Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Tally and Multi-Thread?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00649205
Message ID:
00649249
Vues:
10
>Can anyone say how thread-reliable the _tally object is with a MTDLL (subclassed from a timer control or formset control, not session or custom)? I was thinking that if multiple instances did some SQL and were asked for _tally, they would all say the same thing regardless of how many rows were asked.
>
>Is that true?
>
>Thanks.

_Tally is a local system variable. When you instantiate a COM server, even one configured as an MTDLL, you get a new memory space. You can't access a variable in another DLL instance's memory space unless you program some interface to it (public;y exposed method or property).

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform