[Bug 49775] sapi51.h and sapi51.idl (from which it is claimed to be generated in original Windows SDK) are missing from the sdk

WineHQ Bugzilla wine-bugs at winehq.org
Sun Sep 6 11:05:57 CDT 2020


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

--- Comment #3 from KOLANICH <kolan_n at mail.ru> ---
>There is no sapi51.idl or sapi53.idl on Windows SDK, the corresponding header files are generated using sapi.idl. May be the header files are generated by midl by passing _SAPI_BUILD_VER argument.

Have already figured it out ;)

>Are you reporting a bug against the Windows headers, the mingw-w64 headers, or the wine headers?

I am trying to build some software without using VisualStudio. So I used
MinGW-w64. The Windows SDK is not considered a part of Visual Studio (and
compilers used with it) since it can be installed separately.

So, since there were no the needed headers in MinGW-w64, the first my attempt
was to search in Wine. Since I haven't found, my second attempt was to use the
stuff from Windows SDK (recompiling them with WIDL have removed most of the
compile errors).

>Only the latter warrants a report here, and we don't ship sapi51.h at all.

I understand.

BTW, they are not the only headers missing. `sapiddk.h` and `sapi5ddk.h` were
also needed (again, solved with compiling from IDLs in Windows SDK).

But there was 1 file missing, `sperror.h` (Wine has one, but it doesn't have
most of enums definitions found in the original one), but again the one from
Windows SDK worked well (luckily it is just a bunch of defines (why don't they
use enums for that?)).

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