[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: VM for lua bytecode on windows mobile .Net and C#
- From: Andreas Engel <AEngel@...>
- Date: Mon, 5 Jul 2010 11:59:17 +0200
Thanks a lot for the information,
> Just search the keyword "C# use lua"
or "C# with Lua", you could be
> able to find many solutions, and most of them use "luainterface"
as
> Lua wrapper.
> For example: http://www.godpatterns.com/2006/05/scripting-with-lua-in-c.html
>
> So you just need to follow the code sample of LuaInterface, and
> could interpret the your Lua code.
But I have one question:
How can I interpert the Lua Bytecode with luainterface?
The lua-byte-file I have to interpret looks like this
------- schnipp ------
LuaQZ@E:/webtempfiles/ea26708a-aa85-4b45-acd7-3519bbc9c253/Der
verschwundene Geocacher-new.enc
A@@@€@À@A@@J
@€ƒ@@BE@........
------- schnipp ------
I'm an absolute beginner and I don't have any idea,
what I have to do to run this bytecode
I think I don't can use easyly
static void Main(string[] args)
{
Class1 c1 = new Class1();
Lua lua = new Lua();
lua.DoFile("myLuaBytefile");
}
Thanks a lot and please sorry my bad english
Andreas
..................................................................
PHOENIX CONTACT ELECTRONICS GmbH
Sitz der Gesellschaft / registered office of the company: 31812 Bad Pyrmont
USt-Id-Nr.: DE811742156
Amtsgericht Hannover HRB 100528 / district court Hannover HRB 100528
Geschäftsführer / Executive Board: Klaus Eisert, Roland Bent, Dr. Martin Heubeck
___________________________________________________________________
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren, jegliche anderweitige Verwendung sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
----------------------------------------------------------------------------------------------------
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure, distribution or other use of the material or parts thereof is strictly forbidden.
___________________________________________________________________