Tue Dec 14 07:21:50 2010: Request 63882 was acted upon. Transaction: Correspondence added by conversecoroll...@yahoo.com 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: conversecoroll...@yahoo.com 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 <bug-win32-...@rt.cpan.org> wrote: > From: Jan Dubois via RT <bug-win32-...@rt.cpan.org> > Subject: [rt.cpan.org #63882] Problem with tk_getopenfile and > Win32::OLE::Const > To: conversecoroll...@yahoo.com > 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) > } > >