E
Eric
Anyone have any comments about calling VCL's (Delphi/Builder)
Application->ProcessMessages() function from within a COM add-in, like
inside of the OnDisconnect event to make sure any modeless VCL forms
are destroyed and all messages processed before Outlook unloads the
add-in? As a general practice I don't like to run my own message loop
like that, because any custom processing Outlook's internal message
loop does, would be skipped, but I've done a bit of testing and it
doesn't seem to cause problems so far...
Also, I'm going to be doing some long processes sometimes and I'd like
to make this as transparent as possible to the Outlook user. Is this
also a good place to call ProcessMessages(), or run a PeekMessages()
loop, or is there some other method which lets me yield to Outlook?
Or do I even need to worry about this, since Outlook seems to run a
seperate thread for COM add-ins anyway?
I'm developing for Outlook 2000, 2002, and 2003. Thanks for any
advise!
Application->ProcessMessages() function from within a COM add-in, like
inside of the OnDisconnect event to make sure any modeless VCL forms
are destroyed and all messages processed before Outlook unloads the
add-in? As a general practice I don't like to run my own message loop
like that, because any custom processing Outlook's internal message
loop does, would be skipped, but I've done a bit of testing and it
doesn't seem to cause problems so far...
Also, I'm going to be doing some long processes sometimes and I'd like
to make this as transparent as possible to the Outlook user. Is this
also a good place to call ProcessMessages(), or run a PeekMessages()
loop, or is there some other method which lets me yield to Outlook?
Or do I even need to worry about this, since Outlook seems to run a
seperate thread for COM add-ins anyway?
I'm developing for Outlook 2000, 2002, and 2003. Thanks for any
advise!