FileOnQ / Imaging.Raw

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PInvokeStackImbalance - net48 - x86

SkyeHoefling opened this issue · comments

Description

When using this library a net48 WinForms application targeting x86 I get the following exception loading LibRaw dependencies
image

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