I'm trying to import functions from the Lua 5.3.4 binaries on Windows.
I have the lua53.dll file and the liblua53.a library for binding. The thing is, PureBasic nowadays is unicode by default (and that's absolutely fine), however it seems to not cope with the fact that the Lua binaries are compiled with ascii settings (Lua does not support unicode). When I use the binding method (ImportC "lualib53.a") I get the annoying Windows runtime error saying:
Does anyone know of a way how I can still link with this Ascii library? I don't want to have to prototype every single symbol in the DLL.---------------------------
PureBasic_Compilation0.exe - Entry Point Not Found
---------------------------
The procedure entry point PostThreadMessageA could not be located in the dynamic link library <path>\PureBasic_Compilation0.exe.
---------------------------
OK
---------------------------
Cheers,
Bas