lua-users home
lua-l archive

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

> I have noticed that lua doesn't like when compiled with unicode in 
> visual studio so i tracked down
> the problem to loadlib.c and fixed it
> [...]

You can make these corrections in luaconf.h:

#if defined(loadlib_c) && defined(UNICODE)

#define GetModuleFileName	GetModuleFileNameA
#define FormatMessage		FormatMessageA
#define LoadLibrary		LoadLibraryA


-- Roberto