Newbie Question, Main Function?
I’m aware that the main function (main()) is the first to get executed.
I’ve written a function which is to check whether a process is running or not, but I want it to be the first thing to execute BEFORE the construction of my GUI — getting loaded into memory.
Calling several GUI objects within the main function, obviously, doesn’t work since they are declared after the main function.
Where am I supposed to call my function, so that it executes firstly?