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

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 4 02:42:13 CDT 2013


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

--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail.de> 2013-06-04 02:42:13 CDT ---
(In reply to comment #2)
> What app?
> 
> How are you arranging for \\server\share\app.exe to work in the wine
> environment?


well it seems to be a sort of oracle-based active-X, it is used
only in-house to enter the work-hours for accounting.


The container-app is installed locally, and it uses a fixed UNC path
where the active-X is expected to be. I think the admins use that
_lopen to lock-out all users when they do their maintenance.


I just created unc/server/share under .wine/dosdevices
and did mount -t smbfs //server/share unc/server/share
that is acceptable, I need no browsing.


The setup forgot to install mfc42.dll, therefore I took it from an XP system.


The attached test app demonstrates that there is only an incorrect path
returned from GetModuleFileName that confuses the application.

-- 
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