in reply to Using the Win32 CDO library

CDO may want to run in apartment threaded mode. Try adding the following line directly after your use Win32::OLE statement:
Win32::OLE->Initialize(Win32::OLE::COINIT_OLEINITIALIZE());
and see if it makes a difference.

Replies are listed 'Best First'.
Re: Re: Using the Win32 CDO library
by engrbob (Initiate) on Apr 25, 2003 at 20:54 UTC
    You are awesome! bob