lua-users home
lua-l archive

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think that we all need more informations : which compiler, which command 
line, did you compile lua from sources, which version of lua do you 
use, ...


Le Jeudi 18 Mars 2004 18:06, Andy Greensmith a écrit :
> Hi,
> I new to lua, I have managed to get everything compiled and all appears
> well untill i run my simple program (listed below).  Its a console app
> in windows.
>
> When i run it i get the following error message...
> "An unhandled exception of type 'System.TypeLoadException' occurred in
> Unknown Module. Additional information: Could not load type lua_State
> from assembly luaconsoleapp, Version=1.0.1538.30083, Culture=neutral,
> PublicKeyToken=null."
>
> If i place a break point in this function it never get reached.
> If i take the lua_open command out it runs without crashing.
>
> int main()
> {
>     lua_State* state = lua_open();
>     return 0;
> }
>
> Any help anyone can offer me would be massively appriciated
> Cheers
> Andy

- -- 
Michel Nolard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAWdntyAKwOMHoSb0RAnK8AJ4waiiIBEavy5fjzA8HOM8YNAI8CwCfTWh3
KfR5y56qkrduTdCDAzYBkg4=
=f7cD
-----END PGP SIGNATURE-----