> >From what I can tell, it's exactly what you're looking for. lua_pcall
> allows you to register an error function that gets triggered upon
> error. If it's a C function, simply push it onto the stack to make it
> available to Lua.
Wow, it was what I needed. Thanks!
I feel quite dumb right now, I was looking at it from the wrong perspective. It was exactly what I needed.
Sorry, next time I won't be so quick or careless about what I say I don't need.
I have it all working now. :)
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. Learn Now