Click to See Complete Forum and Search --> : call back functions


Haim-Eran
August 13th, 1999, 05:23 PM
hi - i'm Eran and i have a question about the Respond of a client
to Exe Server Notification implemented as Callback function.

generally , when i do asynchronues processing, i have a client that use
an activeX EXE component to do some Background Task ,and while he do that
(the component), the client can do other processings and will be Notified
by the component when the component finishes the job by Callback function.

now, i implemented this mechanizm but i noticed that if the client is busy
in some loop or somthing (means the Client process thread is doing some long
operation) so the Notification is Lost (or dont Accepted by the Client). also
no error is raised by vb (i accept to Server Busy or somthing like that).

so - how i promise that when notification comes it will be handled as soon as
it comes or may be queue'd until the thread is finish.

thanks - Eran

Muthu Ram
October 6th, 1999, 04:13 PM
for concurrent processing, another thread needs to be run. it doesn't matter if you load an activex dll or exe, but as long as the client is single threaded you are not going to get any response back from the component.

i am losing hair trying to work with multithreaded clients in VB!