Elan wrote: > Hi, > > This is my C code: > main() > { > lua_open(); > > Any ideas? > Yes right after lua_open() ... Make sure that you open/init the IO lib(Look in luac.c) .. otherwise the writeto() is a unknown function! Erik