Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

SetRetryReply

hey can anyone show me a code snippet implementing the setRetryReply, I have tried it several ways and it is not working properly for me, need the declaration too. thanks.
0
reginab
Asked:
reginab
  • 2
  • 2
1 Solution
 
jkrCommented:
You shouldn't have to implement that on your own. What is your final goal? If you are trying to get rid of the "Server busy" dialog, see e.g.  http://support.microsoft.com/default.aspx?scid=kb;en-us;248019 ("How To Prevent Server Busy Dialog Box From Appearing During a Lengthy COM Operation")
0
 
reginabAuthor Commented:
yep I have actually reviewed that extensively, and I have a situation where I need to control it. my ultimate goal is in my client server application if it goes beyond the pending time out,  I want to fire the retry without human intervention .
0
 
reginabAuthor Commented:
oops my bad, actually I want to do setbusyreply.  So to prevent the msgbox from popping up answer it from within the code.
0
 
jkrCommented:
Then, you might want to take a look at the original implementation of 'COleMessageFilter' in olemsgf.cpp - the MFC source files ship with VC++.
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now