Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone doing multithreading in VFP?
Message
From
20/05/2009 16:07:21
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01401052
Message ID:
01401099
Views:
125
>>
>>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform