This code compiles under MaxonC++ V1.1. If you use another compiler you will have to make some adjustments so that the two child tasks will work correctly. You might probably have to turn off stack checking and use the __interrupt or __saveds keywords at the appropriate places. You might also have to change some include-filenames, i.e. to Have fun, Karl