Windows-Desktop-flutter::ffi and loading the Clang library

Windows Desktop flutter app. Unable to load the dll built using Clang compiler.

I have developed the C library(dll) using Clang compiler on Windows.
I’m trying to load the library using the ffi interface. It fails to load the library(dll).

ffi loads the same library if it is built using the MSVC-2019 compiler.

Any inputs to make the Clang library(dll) loadable by flutter using ffi interface ?