handle the messages brought
back. The service now works exactly as I had hoped it would.
Ken
-Original Message-
From: Jan Dubois [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 2:15 PM
To: 'Steven Manross'; LeFevre, Ken; [EMAIL PROTECTED]
Subject: RE: OLE problem wi
PROTECTED]
Subject: RE: OLE problem with Outlook
Shouldn't your
Win32::OLE->Initialize(Win32::OLE::COINIT_OLEINITIALIZE);
Be after the use Win32::OLE qw (.);
As well, threading probably doesn't work all that well considering the
single-threaded apartment model required for Outl
Win32::OLE doesn't really mix with using multiple threads inside Perl.
I think you *might* get it to work if you only ever use it inside a
single thread, and then also make sure you don't "use" Win32::OLE
at all, but just "require" it in the thread that uses it. The
Initialize() call would have to
correct me if I've led you astray on this
detail.
Steven
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
LeFevre, Ken
Sent: Thursday, November 24, 2005 7:32 AM
To: [EMAIL PROTECTED]
Subject: OLE problem with Outlook
I'm writing a p
I'm writing a
program that monitors an Outlook mailbox and processes incoming e-mail in a
given folder with a specified mailbox. When I run the module that does
that actual access in the debugger, it works great. When I run the same
module as a thread, I get the following error:
retrying