VBGuru
asked on
MTS -- handling global variables
I want to know how to handle shared data(in VB Â global variables) in MTS.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you, cywh for the answer.
What exactly i wanted to know is, is there any way i can use callback or event handling mechanism which is there in the DCOM.
Because i want to notify the appropriate client as soon as the information from one client is to be intemated to the other client.
I will give you the points. Let me know what you say about this.
Thanks in advance.
What exactly i wanted to know is, is there any way i can use callback or event handling mechanism which is there in the DCOM.
Because i want to notify the appropriate client as soon as the information from one client is to be intemated to the other client.
I will give you the points. Let me know what you say about this.
Thanks in advance.
If I iterpret your question right you ask for som mechanism to notify the calling function or process whenever a asychronous question is asked? Hav I understood your question right?
If I understod the question the aswer might be MSMQ (Microsoft Message Que). I don't know of any better way to handle asynchronous transactions in the DCOM environment.
MSMQ ques up every transaction until it gets time from the OS to execute its task. If a computer on the network is "down" the transaction sent to that computer is also qued until the machine goes "up" again. This is actually a standard behaviour of all Message Que Systems.
Regards,
Conny Westh (cywh)
If I understod the question the aswer might be MSMQ (Microsoft Message Que). I don't know of any better way to handle asynchronous transactions in the DCOM environment.
MSMQ ques up every transaction until it gets time from the OS to execute its task. If a computer on the network is "down" the transaction sent to that computer is also qued until the machine goes "up" again. This is actually a standard behaviour of all Message Que Systems.
Regards,
Conny Westh (cywh)
You'd be fighting a far tamer battle to modify your objects to pass values back and forth as arguments to procedure calls.
Besides... hasn't someone jumped on you about global variables yet??? :)