Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MultiThread Dll
Message
From
06/12/2002 14:28:14
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00730421
Message ID:
00730448
Views:
18
Please stop reposting the same question over and over. This is the third thread that you started with the same question in 2 days (see thread #729850, thread #730408 and this one).

If you don't get any response it's probably that:

  • The question isn't clear enough. Try to rephrase the question by updating the orinial message or by replying to it, or
  • Nobody that is currently online knows the answer (having someone online who knows VFP, Mabry HTTPServer, VFPCOM BindEvents and VFPMTApp.DLL may be rare).

    >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 and compiled it as a multithread dll. 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 of process
    >example:
    > oScript = CREATEOBJECT("SCRIPTS.CusCodeBlock")
    > variable=oScript.Execute(@ARRPARAMS)
    > TIME1
    > ...
    > Time needed to execute code
    > ...
    > TIME2
    >
    > I want "Return" from Mabry event at TIME1 and not wait that code is execuded, so that mabry can process other events.
    >
    >I read somewhere of using a timer class. But where ? Is really needed ?
  • Previous
    Next
    Reply
    Map
    View

    Click here to load this message in the networking platform