Tue Dec 14 07:21:50 2010: Request 63882 was acted upon.
Transaction: Correspondence added by [email protected]
       Queue: Win32-OLE
     Subject: Re: [rt.cpan.org #63882] Problem with tk_getopenfile and 
Win32::OLE::Const
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: resolved
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=63882 >


Thank you, that did the trick.

gary

--- On Mon, 12/13/10, Jan Dubois via RT <[email protected]> wrote:

> From: Jan Dubois via RT <[email protected]>
> Subject: [rt.cpan.org #63882] Problem with tk_getopenfile and 
> Win32::OLE::Const
> To: [email protected]
> Date: Monday, December 13, 2010, 5:14 PM
> <URL: https://rt.cpan.org/Ticket/Display.html?id=63882 >
> 
> The standard file dialogs in Windows only work in single
> threaded
> apartment mode, so you have to include the following line
> immediately
> after the "use Win32::OLE" line before doing any OLE
> operations:
> 
> BEGIN {
> Win32::OLE->Initialize(Win32::OLE::COINIT_OLEINITIALIZE)
> }
> 
> 


      

Reply via email to