[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: [ANN] Winapi 2nd beta
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 13 Jun 2011 11:16:06 +0200
This is the second beta release of winapi: basic Windows bindings for Lua.
The major change is that (mostly) the library works with widechar
unicode internally, and allows you to specify the encoding up front.
By default it is CP_ACP, but you can set it explicitly to UTF-8.
Running this in SciTE puts a little bit of Greek in the caption:
local W = require 'winapi'
win = W.foreground_window()
There is a 'get_disk_network_name' function for finding out the UNC
name mapped to a particular drive.
As suggested, P:get_process_name(true) will give the full path of a
process; the default is just to give the exe name.
show_message is now generalized like so:
Another change is that there is an explicit Thread object returned
from functions like winapi.timer, which supports suspend, resume and
Precompiled binary for Lua for Windows is at ; source zipball is at
. Docs are at  and .
(Still only 25K !)