Skip to content

Also prevent SyncObjs.THandleObject.WaitForMultiple from unconditionally linking to ole32.dll.

Rika requested to merge runewalsh/source:syncobjs-ole32 into main

I don’t find it a good idea at all, both conceptually (unlike the thing from System that unconditionally affected everything including empty applications, applications that would benefit from this change are ones that use not simply SyncObjs but recently added SyncObjs.THandleObject.WaitForMultiple, and don’t already link to ole32.dll, e.g. don’t use Win32 widgetset) and regarding my implementation (publishing the System solution as System.CoWaitForMultipleHandles; copypasting is not simply longer but also dubious, as if finalization sections are run from DllMain, they shouldn’t unload libraries, while System has more control), but that person with the sneaky yellow avatar asked for it.

Merge request reports