Repository navigation
Restrict CCompRC::LoadResourceFile and usage to win - #41757
Conversation
|
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
|
It is not interesting to do anything here unless it is part of a larger plan for localization of error messages produced by unmanaged code. You can replace the UNIXTODO with a comment or something. cc @janvorli |
There was a problem hiding this comment.
You can use just single #ifdef / #endif with th3 #ifdef before the EX_TRY above and #endif before the return.
There was a problem hiding this comment.
The whole function should be unreachable on non-Windows. It would be best to itdef-out the whole function.
There was a problem hiding this comment.
Moved LoadLibraryHelper and LoadResourceFile functions under a single ifdef.
String resouces packaged as PE files only exist on Windows.
|
Test failure is #37132 |
|
Thanks! |
String resouces packaged as PE files only exist on Windows.