Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Server Busy windows dialog

Server Busy windows dialog

Scheduled Pinned Locked Moved C / C++ / MFC
comsysadminhelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Luis E Cuadrado
    wrote on last edited by
    #1

    Hello Everybody: Lately I'm getting a windows message box that it says: "Server Busy This action cannot be competed because the other program is busy. Choose 'Switch To' to activate the busy program and correct the probelm" Then it has 3 buttons, one says Switch To, the other one says Retry and the last one is a disabled button that says Cancel. This Server Busy message box doesn't show up constantly. It's happening when I call another application using another one. The code that I'm noticing the problem looks like this: COleException *e = new COleException; CLSID clsid; if (CLSIDFromProgID(OLESTR("OtherApp"), &clsid) != NOERROR) { AfxMessageBox(IDS_ERR_LOOKUP_PROGID); return; } // create the Ole Driver object if not already done if (m_otherApp == NULL) { m_otherApp = new IOtherApp(); if (m_otherApp == NULL) return; } // if not dispatch ptr attached yet, need to create one if (m_otherApp->m_lpDispatch == NULL) { try { BOOL sts = m_otherApp->CreateDispatch(clsid, e); if (!sts) { throw e; //AfxMessageBox(IDP_UNABLE_TO_CREATE); //EndDialog(IDABORT); //return; } } Is there a way to make that "Server Busy" message box go away? Anything is more than welcome. Best regards, Luis E. Cuadrado :0)

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups