Skip to content

Windows 11 binary, fifth try

Compare
Choose a tag to compare
@Ciantic Ciantic released this 22 Feb 16:05
· 39 commits to rust since this release

Earlier Windows 11 DLLs had so many bugs that I can't even list them.

NOTE Some DLL functions changed signature, be cautious.

But let me summarize:

  • Apparently all my assumptions about COM object methods AddRef and Release was totally wrong
  • My HWND type was 32-bit, but it should be 64-bit, the same as pointers
  • This means the previous versions worked out of sheer luck

How the heck did the earlier versions even work?