Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I do this with MTDLL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00846025
Message ID:
00846106
Vues:
31
>At the same time each client using MTDLL may instantiate another COM EXE object from it, and the PUBLIC variable declared there will be shared between all the clients. I demonstrated so called VFP Instant Messenger based on this principle at my session at San Diego DevCon 2001.

I remember you doing that - I think I got some material from you regarding this. Unfortunately the drive on the system I was using at the time farkled. Is your presentation still available?


>
>
>>From the vfpsp3 special enhancements help(vfpsp3.chm):
>>"the Vfp6t.dll run time also eliminates conflicts in accessing global data from multiple threads by giving each apartment its own copy of global data. The Vfp6t.dll uses thread local storage to give each class instance its own set of data. This means that a variable you declare as PUBLIC is global only to the thread; each thread has an instance of the variable"
>>However, if you really want to do this, just use a dbf...
>>
>>>If two clients instaniciate the same MTDLL, can one client's change to a server's property be read by the other client?
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform