I just wanted to thank the people on this forum for all the help I got here, especially Salem & Adak.
That code you guys helped me with is the 'what's goin on!'.
I've altered it significantly and I'm using it both as an exe and a dll (from C#).
It's about as fast as greased lightening!
Thanks!!