Recent

Author Topic: MessageLoop in NON-GUI shared library  (Read 5683 times)

Zvoni

  • Hero Member
  • *****
  • Posts: 3136
Re: MessageLoop in NON-GUI shared library
« Reply #15 on: March 04, 2019, 10:51:18 pm »
engkin,

thx for the insight.
No, no global or static variables.
The "MyMethod" of FakeMainThread is just the collector of all Events accumulated from all the ChildThreads.

The far goal of this little project is for this "MyMethod" (prompted by the CHildThread-Events) to do bit of housecleaning in a Database and then firing off a message through a callback-procedure back to the client-app to refresh itself
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

 

TinyPortal © 2005-2018