Sorted - tracked it down to one dll.

Removed all clw, inc, lib and obj files and recompiled.

Cheers
Andre