[Bug 35892] New: sdb2xml (.NET 2.0 app) crashes on unimplemented function apphelp.dll.SdbGetAppPatchDir

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 30 16:37:08 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=35892

            Bug ID: 35892
           Summary: sdb2xml (.NET 2.0 app) crashes on unimplemented
                    function apphelp.dll.SdbGetAppPatchDir
           Product: Wine
           Version: 1.7.15
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net

Hello folks,

as the summary says.

Prerequisite: 'winetricks -q dotnet20' (Mono might work too, couldn't test)

('foo' doesn't exist)

--- snip ---
$ wine ./sdb2xml.exe foo
fixme:thread:SetThreadStackGuarantee (0x33fc28): stub
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
wine: Call from 0x7b83abc3 to unimplemented function
apphelp.dll.SdbGetAppPatchDir, aborting
Error: External component has thrown an exception.
fixme:process:FlushProcessWriteBuffers : stub
--- snip ---

MSDN: http://msdn.microsoft.com/en-us/library/bb432442%28v=vs.85%29.aspx

--- quote ---
void WINAPI SdbGetAppPatchDir(
  _In_opt_  HSDB hSDB,
  _Out_     LPTSTR szAppPatchPath,
  _In_      DWORD cchSize
);

Parameters

hSDB [in, optional]

    A handle to the shim database returned by the SdbInitDatabase function.
szAppPatchPath [out]

    The resulting path.
cchSize [in]

    The size of the szAppPatchPath buffer, in characters. If the function
fails, this parameter is set to the empty string ("").
--- quote ---

The documentation doesn't live up to the standards.
Vista+ API with no ANSI version of the API but they still state 'LPTSTR' type?

$ sha1sum sdb2xml.exe 
9808bc17a7ea4f43ecdcb11f4e18204805246dbd  sdb2xml.exe

$ du -sh sdb2xml.exe 
28K    sdb2xml.exe

$ wine --version
wine-1.7.15-112-g2aad5d7

Regards

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