Running the following test function crashes LibreOffice x64 on Windows: Declare Function PathFindExtensionA Lib "Shlwapi" Alias "PathFindExtensionA" (ByVal pszPath As String) As String Sub test MsgBox PathFindExtensionA("filename.ext") End Sub
https://gerrit.libreoffice.org/c/core/+/129808
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/5276177877cc53c53653a87f3038eb208a5580ab tdf#147364: fix function signature to account to calling convention It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/596dc56ebf2b50911c525c3ae2282071964ea277 tdf#147364: fix function signature to account to calling convention It will be available in 7.3.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.