Information générale
Catégorie:
COM/DCOM et OLE Automation
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement