In reply to chr_sue:
it does not work for windows, Chr_sue: what simulator and C compiler are you using? ?