PInvokeStackImbalance - net48 - x86
SkyeHoefling opened this issue · comments
Skye Hoefling commented
Description
When using this library a net48 WinForms application targeting x86 I get the following exception loading LibRaw dependencies
It appears we need to update our calling convention to solve this proble
[DllImport(DllName, CallingConvention = CallingConvention.Cdecl)]
https://stackoverflow.com/questions/3506796/pinvokestackimbalance-how-can-i-fix-this-or-turn-it-off