I need to have events in my code so it could work properly. I implemented them as it is on this page but as it says there, the program needs to be compiled in a specific way (cl