Problem open files/folders with ShellExecute.

Bruno Cabral dreamulelowid at gmail.com
Fri Mar 7 08:53:36 CST 2008


Hi guys i trying make my windows software "wine compatible" .
It use ShellExecute(..) , how could i use that to open a folder in Kde or
Gnome ? The best that i got is to open the wineefile with this:

ShellExecute(handle, "open", "explorer", "path_to_folder", NULL,
SW_SHOWNORMAL);

And i try to open a file too(for example a mp3), but it do nothing too.

ShellExecute(NULL, NULL, "path_to_mp3", NULL, NULL, SW_SHOW);

Both examples work fine with all version of windows.


So, how can execute a file , and howi could open a folder with kde/gnome ?

Thanks !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20080307/c51c36af/attachment.htm 


More information about the wine-devel mailing list