lua-users home
lua-l archive

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


  Hi Simon,

  The packages you are looking for are named "xxxx_Win32_dll15.zip", at least for LuaGL, IUP, CD, IM and LuaBinaries. They are available even for Lua 5.1. Notice that for each library there are two packages to download, the regular library and the Lua binding.

  The "Tools Executable" package in the IUP downloads contains almost all the DLLs you need. But they were built with Visual C++ 10 (Visual Studio 2010), so they will still work in Windows XP.

  Unless you have a very specific need, that I'm not aware of, the vc10 DLL will work fine in Visual Studio 2017. There are just a few ground rules for that to work, for instance memory allocated in one module should be freed by that module, the same with other handles like FILE*. Since you are using Lua, then this is quite simple.

Best,
Scuri


Em qua, 20 de mar de 2019 às 12:57, Simon Orde <SimonOrde@family-historian.co.uk> escreveu:

Hi - I have a Visual C++ application that supports Lua plugins using a wide variety of Lua DLLs.  The previous version of the program was written in Visual Studio 2010 and uses Lua 5.1.4.  The Lua DLLs all had to be versions that were built specifically for the 2010 version of the MSVC compiler.  This is because they had to be linked to the C runtime libraries that were specific to MSVC 2010.

 

I have now upgraded to Visual Studio 2017 which means that I need new compatible versions of all my Lua DLLs.  My program is still built 32-bit, so I need 32-bit DLLs.  Can anyone suggest where I can get these please?  I had a look at the LuaBinaries page on SourceForge and elsewhere, but cannot find a suitable source for the DLLs.

 

If possible, I would like DLLs that will not need to be replaced if I upgrade my compiler in the future.   Any advice on this issue would be appreciated too.

 

I presume that I will need to upgrade to Lua 5.3.5?

 

The core Lua DLLs that I need are:

 

                CD (16 dlls)

                IM (16 dlls)

                IUP (29 dlls)

                LUA5.1.dll (or its equivalent for Lua 5.3.5)

                LUACOM.DLL

                LUAGL.DLL

                LFS.DLL

 

In addition I also need

 

                LUASQL(4 dlls - Kepler project)

                MD5 (2 dlls - Kepler project)

                SOCKET (2 dlls - LuaRocks)

                ZIP.DLL (LuaRocks)

 

All help very much appreciated.

 

Simon