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 !