[Jprogramming] OLE Server Busy dialog box

bill lam bbill.lam at gmail.com
Thu Dec 13 13:54:44 HKT 2007


I encountered the same problem as described in this article

How to prevent the OLE Server Busy dialog box from appearing during a lengthy 
COM operation
http://support.microsoft.com/?scid=kb%3Ben-us%3B248019&x=14&y=15

the server busy dialog popup when ole call cannot completed quickly (the default 
timeout is only 5 seconds). My workaround is to execute
   'ole32 OleUninitialize n'&(15!:0) ''
   'ole32 OleInitialize i x'&(15!:0) <0
when starting my application.

However I'm unsure what are the side effects. Is it possible that J increase the 
timeout value?

-- 
regards,
bill


More information about the Programming mailing list