CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 1999
    Posts
    4

    call back functions

    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




  2. #2

    Re: call back functions

    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!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured