[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua and unicode with visual studio
- From: roberto@... (Roberto Ierusalimschy)
- Date: Fri, 23 Jun 2006 09:25:52 -0300
> 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
#endif
-- Roberto