How do you handle "call was rejected by callee" and/or "application is busy"?
How do you handle "call was rejected by callee" and/or "application is busy"?
I found the Visual Studio method of of handling this at https://msdn.microsoft.com/en-us/library/ms228772(v=vs.80).aspx but I've been unable to locate a Delphi equivalent and I'm not advance enough to figure out how to implement this in Delphi.
In days past I would just enter into a while loop returning when it was successful. I'm able to get things working with a sleep(750) in my code but that's just a band-aid for now.
https://msdn.microsoft.com/en-us/library/ms228772(v=vs.80).aspx
I found the Visual Studio method of of handling this at https://msdn.microsoft.com/en-us/library/ms228772(v=vs.80).aspx but I've been unable to locate a Delphi equivalent and I'm not advance enough to figure out how to implement this in Delphi.
In days past I would just enter into a while loop returning when it was successful. I'm able to get things working with a sleep(750) in my code but that's just a band-aid for now.
https://msdn.microsoft.com/en-us/library/ms228772(v=vs.80).aspx
Look on the web. There's a classm
ReplyDeleteHmmm, the Google must not be what it used to be I've been searching on and off for the last couple of weeks: delphi, call was rejected, etc. I'll add the classm keyword.
ReplyDeleteLol sorry for the typo
ReplyDeleteLol is on me - I didn't realize it was a typo.
ReplyDeleteOleMessageFilter - that's what you are looking for.
ReplyDeleteI did find it:
ReplyDeletehttp://www.delphigroups.info/2/9/1015856.html
now to figure out its usage.
Thanks for the lead.
Trust me there's an entire class already implemented
ReplyDeleteI confess to being dense- are you saying there is a OleMessageFilter class implemented in Delphi (XE8) nothing in the help file guess I'll have to resort to repWin.
ReplyDeleteCheck on google. It is out there. The code is old bit you can modify it
ReplyDeleteYes, I did find it (as above). Also found an example on its usage. Just a matter of creating, registering, and revoking.
ReplyDeleteThanks for your help.