spiegel-keyman/windows/src/global
Marc Durdin ce93901a5f chore(windows): Add safecall for internal CustomisationStorage API interface
This makes it easier to track what is happening for errors where
otherwise we found that exception messages were being cropped; for
example, see KEYMAN-WINDOWS-X.

The error messages were being cropped because the exception handler was
in the exe module, but the exception was being raised in kmcomapi
module. When the exception was handled, the handler tested to see if
the exception object inherited from exemodule.Exception, but it was
inheriting from kmcomapi.Exception instead, and so it did not attempt
to load the message detail.

By adding `safecall` calling convention to `KeymanCustomisation`, we
move responsibility for handling the exception to the
`TKeymanAutoObject.SafeCallException` function, and we get full detail
for the exception.
2022-11-14 09:40:14 +11:00
..
cpp chore(windows): move keynames.h to common 2022-06-12 12:54:24 +10:00
delphi chore(windows): Add safecall for internal CustomisationStorage API interface 2022-11-14 09:40:14 +11:00
Makefile chore(windows): move KeymanVersion.pas to common and update refs 2022-06-21 09:39:04 +10:00