The speed increase will only come as a result of running compiled code instead of scripted code... admittedly I could do this by simply hard coding the game, but the beauty with this approach is that I hope to retain the flexibility offered by scripting whilst gaining the advantages of real compiled code.

But... this does bring with the complexities that have been brought to light.

I'm just experimenting with a D5 compiled EXE and a FreePascal compiled DLL.... its not going well :?

Edit:- My original reply was practically nonsense, so I've edited it :-)