diff --git a/src/Logic/NHunspell/Marshalling.cs b/src/Logic/NHunspell/Marshalling.cs index bb02eae3b..e77673522 100644 --- a/src/Logic/NHunspell/Marshalling.cs +++ b/src/Logic/NHunspell/Marshalling.cs @@ -5,6 +5,9 @@ // // The marshal hunspell dll. // +// +// nikse.dk: Added attributes to all delegates regarding calling convension: [UnmanagedFunctionPointer(CallingConvention.Cdecl)] +// http://stackoverflow.com/questions/2390407/pinvokestackimbalance-c-sharp-call-to-unmanaged-c-function/2738125#comment2825285_2738125 // -------------------------------------------------------------------------------------------------------------------- namespace NHunspell