using System;
using System.Collections.Generic;
using System.Text;
using RGiesecke.DllExport;
namespace luaToDll
{
internal static class UnmanagedExports
{
[DllExport("LuaToDll", CallingConvention = System.Runtime.InteropServices.CallingConvention.StdCall)]
static string LuaToDll()
{
string luastr = @"Dialog.Message('','Hello Wolrd');";
return luastr;
}
}
}
http://www.amsspecialist.info/viewtopic.php?f=27&t=609