lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Mon, Jan 15, 2018 at 8:12 AM, Russell Haley <> wrote:

I do not think the information on the impossibility of calling __cdecl imports from managed code is accurate. Per , the [DllImport] attribute can have a CallingConvention field, one of whose possible values being Cdecl. See for examples.

That means a stock Lua DLL should be usable from a .net application, if the imports are correctly decorated. I have not tried that, though.