Results 1 to 5 of 5

Thread: How to interrupt DCOM Activity.

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Baton Rouge,La
    Posts
    9

    Question

    I have a thin client that makes calls to a middle tier via DCOM which in turn communicates with an alpha via winsock. My question is when the applications starts fetching data from the middle tier and the alpha I am unable to abort or interrupt the operation until all operations are complete. I get the switch to / retry MsgBox. I would like a way to abort or interrupt operation.

    Thanks
    Danny

  2. #2
    Lively Member Kersey's Avatar
    Join Date
    Jun 1999
    Location
    The Netherlands
    Posts
    101
    Are U using an Activex.EXE ???
    dll connects synchronous !

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Baton Rouge,La
    Posts
    9
    Kersey, I have an ActiveX.exe and your right the app must be running synchronus, I am now looking for code examples to either do interrupts or call back, what is the easiest and/or the best way to handle?

    Danny


  4. #4
    Lively Member Kersey's Avatar
    Join Date
    Jun 1999
    Location
    The Netherlands
    Posts
    101
    I'll mail you example of callback i'm using

  5. #5
    New Member
    Join Date
    Sep 2001
    Posts
    1
    hi friends,

    I'm currently working on a client/server program for my company using vb6.

    Everything works fine until sometimes a "Switch To/End" Message Box popup(the server side) unexpectly. I search over the web(almost) but still didn't get a clue for it.

    Just see your post in the forum and i hope you can help.

    The seneriao is,
    I MUST use a ActiveX.dll in which it is provided with the partnership company.
    My server (written in vb) is a Standard.exe (do i need ActiveX.exe?) which will recieve a command from the clients, then it will grep data from a remote db (via a ADO object inside the ActiveX.dll I mention above) and write to a local db.

    However, we will have serveral server(independent exe) which serve the clients request one by one. If one server is busy, it will ignore the request, then the second server will answer the request recursively.

    Problem: sometime(not very often) a "Switch To/End" MsgBox will popup.

    Why? And How could we reslove this problem?

    I've send email to Microsuck, they can't help (just reply me dumb answer, suck)
    I will be glad if you could help, you might be my last hope...

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