driver1998

Results 95 comments of driver1998

Looks like you can get pretty far if you just load `app.xaml` as-is in runtime and implementing `IXamlMetadataProvider` by forwarding to `Microsoft.UI.Xaml.XamlTypeInfo.XamlControlsXamlMetaDataProvider` This is C# but I guess Swift will...

See https://github.com/driver1998/WinUIMinimalXaml for the demo code. (credit goes to @sylveon)

We should provide hashes to the DLLs so that people can at least verify. Also are there other release channels instead of copying from Windows SDK? Nuget maybe?

I opened an issue to request statically-linked releases: https://github.com/microsoft/DirectXShaderCompiler/issues/5163

Well is dxil.dll not needed for GLon12? Otherwise blender will crash if you have mesa installed (which installs itself as $MINGW_PREFIX/bin/opengl32.dll).

Not that you should install mesa on MSYS2 as-is unless absolutely necessary though. Since it will make all the exes in `$MINGW_PREFIX/bin` use mesa OpenGL, which usually is GLon12.

https://github.com/microsoft/DirectXShaderCompiler/issues/5163#event-9968943376: > Fixed in internal build system. Next DXC release will ship with hybrid CRT linkage. Hybrid CRT linkage means it statically links to Visual C++ runtime, but dynamically links...

https://github.com/microsoft/DirectXShaderCompiler/releases/tag/v1.7.2308 v1.7.2308 (August 2023) just released, and here is the imports of `dxil.dll` downloaded from GitHub releases: ``` driver1998@desktop UCRT64 /d/Documents/Downloads/dxc_2023_08_14/bin/x64 $ ldd dxil.dll ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffac0190000) KERNEL32.DLL =>...

https://github.com/guanzhi/GmSSL/blob/bdd2149dc886cab5039d45c5bcfa950e287e2650/tools/tlcp_client.c#L251-L281 此处的 `_fileno` 我找不到对应的变量定义,编译时似乎是指向了 Windows 的 `_fileno` 函数,于是触发了函数指针强转为 `SOCKET` `(UINT_PTR)` 的问题,这在 GCC 上是 warning,Clang 上是 error。 附 Clang 下的报错信息 ``` FAILED: CMakeFiles/gmssl-bin.dir/tools/tlcp_client.c.obj D:\msys64\clang64\bin\cc.exe -DENABLE_ASM_UNDERSCORE_PREFIX -DENABLE_SHA2 -D_WINSOCK_DEPRECATED_NO_WARNINGS -ID:/Projects/GmSSL/include -MD -MT CMakeFiles/gmssl-bin.dir/tools/tlcp_client.c.obj...

If you are talking about python you can try to use Windows.Devices.Gpio API with the pywinrt [winsdk](https://pypi.org/project/winsdk/) package. If you are comfortable with C++ you can checkout my demos repo:...