[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now



Posted on 2004-11-02
Medium Priority
Last Modified: 2013-11-20
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.
Question by:reginab
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 86

Expert Comment

ID: 12473773
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")

Author Comment

ID: 12475522
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 .

Author Comment

ID: 12475649
oops my bad, actually I want to do setbusyreply.  So to prevent the msgbox from popping up answer it from within the code.
LVL 86

Accepted Solution

jkr earned 750 total points
ID: 12475878
Then, you might want to take a look at the original implementation of 'COleMessageFilter' in olemsgf.cpp - the MFC source files ship with VC++.

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question