Thanks, it's working now :)
In case someone wants to know, I will be converting my .eml source file to
a message object using this call:
IConverterSession::MIMEToMAPI (outlook 2003+)
http://msdn.microsoft.com/en-us/library/aa193062(office.11).aspx
Since not all calls are available using
On 1:59 PM, Tim Golden wrote:
On 04/01/2010 21:18, Mike Driscoll wrote:
The OP should check out Tim Golden's winshell module as it gives access
to the common folders quite easily:
http://timgolden.me.uk/python/winshell.html
Thanks for the plug, Mike. Problem is that the
OP is after running
Is there a way to ensure that some cleanup code will get run whenever my
process terminates?
I've tried signal and try:finally:, while noting that, e.g., atexit says
it doesn't handle interrupts. I can catch many circumstances, but if I
kill the process from task manager my cleanup doesn't
If your process is being terminated forcefully (like from the task manager)
then you probably don't want to run any cleanup code. If you really must you
could code something in C, put it in a DLL library and have it executed in
DllMain when the library is unloaded. (And I think you'll still have