lua-users home
lua-l archive

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


Hi list,
I'm making a windows app with a console that I want to redirect the
lua print() function to.  I have the redirection working with fputs
and printf etc, but for whatever reason, when print is called from
within lua, I don't see it.  The dll/lib I'm using is compiled in
vs2008 so it links against windows libs.  My app is a windows app, not
a console app and I use AllocConsole() to get one and follow this
code: http://dslweb.nwnexus.com/~ast/dload/guicon.htm to redirect the
std* files.

Any ideas as to what could be going on?

thanks,
wes