Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anyone doing multithreading in VFP?
Message
De
20/05/2009 16:07:21
Mike Sue-Ping
Cambridge, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01401052
Message ID:
01401099
Vues:
124
>>
>>Currently I have the widget content being generating in code from a multi threaded dll. A timer is creating the objects from that dll. It appears to work except when a long process is encountered that then holds up the production of the rest of the widgets. So in short, it would appear to me that it is not working as a multi threaded dll :(
>>
>
>I've "faked" this by exposing things (forms and a few other classes) as VFP COM components then instanciating them (as a COM component) from within my VFP app. Basically instead of o = CREATEOBJECT("MyClass") it becomes o = CREATEOBJECT("MyProject.MyClass").

That's exactly the syntax I'm using when I say I've created a multi threaded dll. The problem remains, however, that a long process holds up the remaining widgets to be rendered. Obviously it isn't working as well as I'd hoped.

Did you ever notice this behaviour?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform