Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MultiThread Dll
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
MultiThread Dll
Miscellaneous
Thread ID:
00730408
Message ID:
00730408
Views:
62
I'm writing a "web server" application in vfp 6.0 sp 5 using the Mabry HttpServer Com object (no activex) and vfpcom.bindevents to interact with Mabry object events. I write a class for events code compiled as multithread. It work. I can send html page correctly to clients.
But in some Mabry events there is a lot of code, needed for page creation. I'm crazing, trying to "multithread" this code.
I created, of course, a class with all of the code needed to page creation in a class compiled as multithread. But request of new users (explorer clients) are executed only after no other requests are in process.!?
It seem's not a Mabry, but a Vfp problem.

I tried also the vfpmtapp.dll of Remus Rusanu. Very Good. It seems to excecute my code concurrently but I have a lot of vfp crash.

Any idea of I can return from the requetdone event of Mabry "more quickly" and try to execute the "page creation" job as a separate thread ?
In other words how can I avoid to wait the end process call
oScript = CREATEOBJECT("SCRIPTS.CusCodeBlock")
a=oScript.Execute(@ARRPARAMS)

a

Thanks in advance

Enrico De Angelis
Next
Reply
Map
View

Click here to load this message in the networking platform