[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Change in loadlib.c ( pusherror (lua_State *L) ) to make LUA Windows 8 WinRT compatible
- From: HyperHacker <hyperhacker@...>
- Date: Fri, 3 Feb 2012 01:00:36 -0700
On Fri, Feb 3, 2012 at 00:54, pelotoescogorciao
<pelotoescogorciao@yahoo.es> wrote:
> You must remove/change
>
> /*char buffer[128];
> if (FormatMessageA(FORMAT_MESSAGE_IGNORE_INSERTS |
> FORMAT_MESSAGE_FROM_SYSTEM,
> NULL, error, 0, buffer, sizeof(buffer)/sizeof(char), NULL))
> lua_pushstring(L, buffer);
> else*/
>
> in order to make LUA WinRT-compatible. The "FormatMessageA" is a Win32 call
> which is not present in the Windows's 8 WinRT API.
> Thanks.
So what API is supposed to be used instead?
--
Sent from my toaster.