Mon Dec 13 20:14:10 2010: Request 63882 was acted upon. Transaction: Correspondence added by JDB Queue: Win32-OLE Subject: Problem with tk_getopenfile and Win32::OLE::Const Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: conversecoroll...@yahoo.com Status: new Ticket <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) }