http://bugs.winehq.org/show_bug.cgi?id=33711
--- Comment #3 from Bernd Edlinger bernd.edlinger@hotmail.de 2013-06-04 02:25:14 CDT --- Created attachment 44655 --> http://bugs.winehq.org/attachment.cgi?id=44655 sample application to demonstrate this
compile this example under cygwin: gcc -mno-cygwin -mwindows -Wall -O2 -o app app.c
install under linux: cd .wine/dosdevices mkdir -p unc/server/share cp app.exe unc/server/share
execute: wine //server/share/app.exe
result: WinMain(00400000,00000000,"",10) GetModuleFileName() => 24, "UNC\server\share\app.exe" GetCommandLine() => "\server\share\app.exe" _lopen("UNC\server\share\app.exe") => -1
under windows XP GetModuleFileName() returns "\server\share\app.exe" and _lopen succeeds