In the Example.c, I read:
"…This function will be called by a separate background thread to notify
your app of trial expiration (either naturally, or because of customer fraud).
That means if you're displaying UI to your users you must ensure
that any windows (or any resource sharing for that matter) are
created in the right thread context or bad things might happen"
I was not able to understand this in deep.
Could explain in different way, or whith a C/C++ code fragment?
Thanks in advance
If you create a separate thread in a UI app, you can't directly manipulate the “main UI thread” without using whatever mechanism the UI framework you're using provides for “communicating with” the main thread.
So, read the docs for whatever Ui framework/API you're using with regards to threads.