Hello,
I'm having a hard time when thinking about methods that belong to objects. Most documentation tells us that objects contain the data and actions for the data. When running as program though, the methods seem like they are actions that belong to the program (get put on the stack for the program and not some special stack belonging to the object). Anyway, this isn't really a question I guess- I don't know how to ask what I am confused about. When I am creating classes and have multiple threads running the idea of methods belonging to the object gets confusing.
I do have a real question. When you have a method being executed ayncronously, does your running program halt, execute that method, then resume with what it was doing? If not, what is going on. Specifically would be, events and Windows Message Pump timer events. Also, other than having multiple threads or using the message pump, how could thinks happen asyncronously?
Thanks