[Bug 22044] New: Builtin msvcr80 not sufficient for running WoW and SCII Beta, missing about 19 functions

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 15 16:44:15 CDT 2010


           Summary: Builtin msvcr80 not sufficient for running WoW and
                    SCII Beta, missing about 19 functions
           Product: Wine
           Version: 1.1.40
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Keywords: download
          Severity: enhancement
          Priority: P2
         Component: msvcrt
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com

Now that we have a spiffy new msvcr80, I tested it on two
real apps: World of Warcraft and Starcraft II Beta, by
removing their bundled copies of msvcr80 (or equivalently
by marking msvcr80 as builtin only).  This failed with

wine: ... unimplemented function msvcr80.dll._initterm_e, aborting
(imported by Battle.net.dll).

_initterm_e is supposedly a version of _initterm that returns 0 on
success, and adding a version that simply calls _initterm and returns 0 
gets us on to the next problem.

wine: ... unimplemented function msvcr80.dll._encode_pointer, aborting
(imported by Battle.net.dll).

This is probably just a cdecl version of EncodePointer; implementing
_encode_pointer and _decode_pointer as simple cdecl wrappers gets us to 
the next problem,

wine: ... unimplemented function msvcr80.dll._controlfp_s, aborting  
(imported by d3dx9_41.dll)

That function's actually documented in msdn, and is probably easy to
fake-implement as a wrapper around control87, but needs tests.
That's where I stopped adding wrappers, and started using winedump
to see if I could get a more complete list of missing functions.
winedump -j import Battle.net.dll plus a little text munging shows
that file imports the following additional functions listed as stubs
in msvcr80.spec:

?_open@@YAHPBDHH at Z
?_type_info_dtor_internal_method at type_info@@QAEXXZ
@_malloc_crt at 4

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