Plugins: Log errors when loading plugins

Idea created by monkeybreadsoftware on Sep 16, 2016
    Active
    Score7
    • tomasd
    • Benjamin Fehr
    • hbrendel
    • dylan_hudson
    • PeterDoern
    • rigman
    • monkeybreadsoftware

    When a plugin fails to load FMP does nothing.

     

    Probably you use LoadLibrary on Windows and dlopen() on Unix systems.

    For Windows you can use GetLastError() to get an error code. For Unix you can use dlerror function to get textual message.

     

    It would be very helpful if FileMaker Pro and Server could log those errors to stderr (Unix) or via OutputDebugString (Windows).