I am trying to integrate Lua into my managed code using LuaInterface. I am using lua51.dll, which comes with the assembly that I downloaded, but when I try to create a new Lua object, the constructor fails with ERROR_DLL_INIT_FAILED or HRESULT 0x8007045A. I checked that I am creating x86. What else could be the problem?
, ...
Lua :
http://luabinaries.sourceforge.net/
, .
To make sure you compile as 32 bits, add x86 to the csproj file.
I had a similar problem, but I would like to guess that you are not as stupid as I am because I think you are compiling 32 bits when it actually compiles as 64-bit.
Source: https://habr.com/ru/post/1757910/More articles:Is python module for global parameters good practice? - pythonPHP - using a constant value to reference a data item - phpConnect to a website that requires a user password / password - javaWhat are the (currently) known errors in MVC 3 - Preview 1? - asp.net-mvc-3Должен ли я использовать AdornerLayer, чтобы избежать обрезания моего adorner вне экрана? - wpfMVC runs one HttpPost editor, the other does not. What am I missing? - asp.net-mvcNeed tips for using iPhone SDK AVMutableVideoComposition - iphoneUpdating a database using PHP - databasePen in console application - .netasp.net mvc2 - how to get model and model.something in the same way in controller? - c #All Articles