Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multithread
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Multithread
Divers
Thread ID:
00729850
Message ID:
00729850
Vues:
78
I'm writing a "web server" application in vfp 6.0 sp 5 using the Mabry HttpServer Com object and the vfpcom.bindevents to interact with Mabry object events. I write a class for events code. It work. I can send html page correctly.
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 quicly and try to execute the "page creation" job as a separate thread ?

Thanks in advance

Enrico De Angelis
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform