Don't see any reason it should run further.
Sample code at the beginning works, your project can't be tested due to missing includes but from the sources I've not seen any reason why it should continue.
But to make sure: call an EndGraphics before calling end.
Sounds like an issue with your system or an installed software / driver
Sample code at the beginning works, your project can't be tested due to missing includes but from the sources I've not seen any reason why it should continue.
But to make sure: call an EndGraphics before calling end.
Sounds like an issue with your system or an installed software / driver