> Which is the command to launch an application via the file extension?
> For example a file with a .jpg extension would start with the
> associated graphics viewer.
> I've been using: Wx::ExecuteCommand("$cmd",0);
> This is for applications, and works very well. Do I need a Wx::Shell...
> command? What is the syntax?
> I have used the Windows "start" command via "system()", but that is not
> Secondly, the latter method is currently broken on my system, which
> means it could happen to other Windows installations, and is thus
> In short, the user needs to select "file.ext" and have it run.
You could use wxMimeTypesManager, if it were wrapped. I may try to wrap it
for 0.11 ( since wxWindows 2.3.3 may be released later than mind-may, sigh... ),
but no promises. If I do it, I'll notify you.
> Mattia wrote:
> >> In short, the user needs to select "file.ext" and have it run.
> >You could use wxMimeTypesManager, if it were wrapped. I may try to
> wrap it
> >for 0.11 ( since wxWindows 2.3.3 may be released later than mind-may,
> sigh... ),
> >but no promises. If I do it, I'll notify you.
> Thanks, at least I know how it should work now.
> But, why doesn't just a Shell launch work?
I don't know, it sould; BTW I am not sure that is "start foo.jpg" fails,
wxMimeTypesManager will work.
> - Btw, I went through all the 0.11 demos, and "Threads" crashes. I
> guess it's not ready yet?
> Or one's Perl needs to be compiled differently?
> Isn't threading a limitation of Perl on Windows?
It requires Perl 5.7.3 or better; In the release it will be available only
if $] >= 5.007003
Get latest updates about Open Source Projects, Conferences and News.