DannyD #1 Thanks Amon but your code crashes once it executes.Compiling & linking are ok though.I'm using the latest BlitzMax on Tiger :(