lua-users home
lua-l archive

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


> Oops. I guess it may be better to use GetModuleFileNameA() in
> setprogdir(). Any objections from the Windows experts?

Why not just compile Lua with UNICODE undefined..?  Personally I'd
prefer GetModuleFileName, since this is the documented (and therefore
official?) API entry, even though it's an alias for either the A or W
version.

--
Wim