Davaris Posted December 18, 2009 Share Posted December 18, 2009 I haven't started using LUA yet and I just downloaded and ran the latest update on a C++ program that was working fine last night and now I get an error. ERROR: unable to find DLL function: GetLuaState. When I hit 'enter', Vis C++ 2008 stops at CreateWorld() and gives this message: Unhandled exception at 0x10126838 in program.exe: 0xC0000005: Access violation. Is there something I should be doing with LUA to stop this error? Quote Win 7 Pro 64 bit AMD Phenom II X3 720 2.8GHz GeForce 9800 GTX/9800 GTX+ 4 GB RAM Link to comment Share on other sites More sharing options...
macklebee Posted December 18, 2009 Share Posted December 18, 2009 I haven't started using LUA yet and I just downloaded and ran the latest update on a C++ program that was working fine last night and now I get an error. ERROR: unable to find DLL function: GetLuaState. When I hit 'enter', Vis C++ 2008 stops at CreateWorld() and gives this message: Unhandled exception at 0x10126838 in program.exe: 0xC0000005: Access violation. Is there something I should be doing with LUA to stop this error? did you update all of the files you need inside your game directory? like the engine.dll, the engine.h, engine.cpp? Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Davaris Posted December 18, 2009 Author Share Posted December 18, 2009 Doh! That's what it must be. Thanks macklebee. Quote Win 7 Pro 64 bit AMD Phenom II X3 720 2.8GHz GeForce 9800 GTX/9800 GTX+ 4 GB RAM Link to comment Share on other sites More sharing options...
Umnik Posted December 19, 2009 Share Posted December 19, 2009 Hi! I have updated all the DLL files in my project. And when booting I wrote: ERROR: unable to find DLL function: GetLuaStatePRESS ENTER TO EXIT. Quote Windows 7 Ultimate x64bit / Intel Core 2 Quad Q8400 / 4GB DDR2 SDRAM / GeForce 8800 GTS Resource War Developer [ dev blog ] Link to comment Share on other sites More sharing options...
Canardia Posted December 19, 2009 Share Posted December 19, 2009 You don't use the newest engine.dll. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Umnik Posted December 19, 2009 Share Posted December 19, 2009 I have all earned only after I created a new project through the wizard. I copied your code from the old project into new project and all earned the library engine.dll 2.3.And now the error does not occur. Thanks All. Quote Windows 7 Ultimate x64bit / Intel Core 2 Quad Q8400 / 4GB DDR2 SDRAM / GeForce 8800 GTS Resource War Developer [ dev blog ] Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.