Quote Originally Posted by Peter_B View Post
(My emphasis added)
You can write any application in C++ and interface to any other API, as long as that API is exposed and has some sort of a 'C' or 'C'-like interface.
The API is hooked and redirected to flash. The simulator can only do what the flash can. Once flash is safe, the simulator is also safe.