These are chat archives for CoraleStudios/Colore
LoadLibrarywill never throw an exception since it's a native function and will simply return a NULL pointer (
IntPtr.Zero) if the requested library was not found.
DllNotFoundExceptions are from the
DllImportattributes not finding the DLLs, one could still use
LoadLibraryto attempt loading them and check the return and/or
Marshal.GetLastWin32Error. Or wrap the first call to a Colore method with a
try-catch. We might add a check on the first initialization of Colore to see if a DLL error is thrown and if so re-throw as a
bool Chroma.IsSdkAvailable()is also being added which can be used to check availability of the Chroma SDK on the system.