Closed bluecataudio closed 3 years ago
I've prepared this for merging into master.
win32_utf8.def
winuser.inl
, and is not exported by user32. And it is only declared conditionally, when ISOLATION_AWARE_ENABLED is enabled. This leads to a compilation error when building the DLL, since we don't define that (and we probably shouldn't, since the isolation aware functions are supposed to be per-DLL). The solution is to have the application pass a pointer to its copy of IsolationAwareMessageBoxW. This is hidden behind a macro of course.https://github.com/thpatch/win32_utf8/tree/New-Wrappers-Fix https://github.com/thpatch/win32_utf8/compare/master...New-Wrappers-Fix
@bluecataudio: Try out this code with your application and tell us the results. In particular check that the new GetTempFileNameU and IsolationAwareMessageBoxU work correctly.
It looks all good and works fine here. Thanks for taking the time to fix and incorporate the changes! That's a great library!
Oops, I just noticed this pull request was still open. I merge DankRank's New-Wrappers-Fix branch into master and close this.