Well I've found many problems with my importer and can safely say that the code it generates doesn't work right now. Soon though I hope to have it fixed. The basic problem is that I've screwed up some place and now its storing the Self Pointer in the Metatable. Witch means that each new instance changes the Self reference for all existing instances (oops). Have a message out to the LUA Mail Group, as they have helped me to find this type of error many times before.

If anyone is interested in seeing my unDelphiX wrappers at the broken stage you can view them at: http://www.eonclash.com/LUA/DXWrappersLuaImport.pas

Once I get everything working again though this file will be removed and I'll be placing the importer up for download.