Ok, thanks!
Now I am on my amiga at home and I have right now tryed your example. The code compiles and links ok, but when I run the program, I can´t see anything that flashes and I can´t hear any beep either.
When I debug the program, it seems like it calls the function DisplayBeep(NULL);
What is wrong?
One more question, How do I add variables to the storm C V4 watch window, when I debug a program?
/Jörgen