|
Thanks for your reply, I tracked the problem down to a problem with the stack being corrupted (an extra pop) before the lua_dobuffer was called when I was initializing the 'IDispatch as user data' functions. Strangly everything else worked with the stack in this state. Thanks, Paul,