Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
State of the COM
Message
De
25/07/2001 08:54:37
 
 
À
24/07/2001 17:03:00
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00534671
Message ID:
00534910
Vues:
12
Ramil,

Mike and Rick have given you the right information. For additional resources, there are some articles on my website and my current series in FoxTalk. I'll also be doing a COM+ session at San Diego.


>Hi all,
>
>I'm looking at COM servers as a possible solution for one of our application that requires considerable time (approx 30 minutes) to process a certain task. And since this task needs to be run for at least 10 datasets; my ideal scenario would be to process the task independent of each other.
>
>This is my first COM project and will very much appreciate anyone's inputs if my scenario is possible. And is a COM server (multithread-DLL) stateless?
>
>Example scenario:
>
>*-- This is my scenario as to how I might call the COM server
>oMyCOM = CREATEOBJECT('MyCom.oCOM')
>FOR i = 1 TO 10
>   oMyCOM.LongTask(i) && Is this stateless?  Will the code run its course
>                      && without waiting for the result or 30 minutes?
>NEXT
>
>*-- This is the COM DLL (multithread) class before being compiled as DLL
>*-- Registered as MyCOM
>DEFINE CLASS oCOM AS SESSION OLEPUBLIC
>   PROCEDURE LongTask
>      LPARAMETERS tiParam
>      *-- Complex calculations, extraction, etc
>      *-- that runs approximately 30 minutes
>   ENDPROC
>ENDDEFINE
>
>
>I also welcome any suggestions/solutions you may have.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform