lua-users home
lua-l archive

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


Martin Kendall wrote:
> I wondered if anyone had investigated the possibility of building LuaINterface 
> so that it can run on Windows Mobile/Pocket PC.  This would enable people to 
> write PDA/Phone applications without having to purchase Microsofts Visual 
> Studio.
> I know this would not have been possible using Compact Framework 1 (Only c# 
> and VB apps could call the Compact Framework), but with Compact Framework 2 
> (using Visual Studio 2005), it ispossible for C++ to call the Compact 
> Framework on a Windows Mobile.
> 
> I wondered if anyone had the Visual Studio 2005 tools, so that this could be 
> investigated?
> 
> Regards,
> 
> Martin Kendall
> 
> 
If the compact framework can permit PInvoke calls and Reflection,
then LuaInterface will be usable.  If it doesn't allow for
Reflect.Emit, then you will not be able to register Events,
Delegates, or Subclasses (creating a lua table that acts as a
subclass to a .Net class) IIRR.

C++ calling the Compact Framework is relatively irrelevant...
well... unless you want to create an application entirely in Lua and
don't want to write a .Net wrapper around LuaInterface (this would
be relatively simple, in the startup of the app, just have it load
up a Lua state and execute the file you want it to).

I haven't had any experience with mobile devices, however, but
whenever I get my hand on one, I'd definitely work on getting Lua
and .Net working.
-- 
Thomas Harning Jr.

Attachment: signature.asc
Description: OpenPGP digital signature