[Bug 33711] New: GetModuleFileNameA returns "UNC\server\share\application.exe"

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jun 3 07:02:09 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=33711

             Bug #: 33711
           Summary: GetModuleFileNameA returns
                    "UNC\server\share\application.exe"
           Product: Wine
           Version: unspecified
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kernel32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: bernd.edlinger at hotmail.de
    Classification: Unclassified


Hello,

I have an application here that is started as "\\server\share\application.exe"
but fails when WinMain executes, because the application uses
GetModuleFileNameA to retrieve the application name, and try to use
_lopen with the returned module path name.

The problem is, that the module file name is returned as
"UNC\server\share\application.exe" which _lopen can not use.

If it was returned as "\\server\share\application.exe" everything would be
fine.


PS: I have a fresh wine1.4-0ubuntu4.1 here.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list