Wasif Mahamod ask a question (https://plus.google.com/u/0/115981396355850645712/posts/GS4PQKPVA5v ) that I have bee thinking of asking a derivative of. We all know that using the VCL in a thread is a no-no, unless there is code to sync the changes on to the main thread.

Wasif Mahamod ask a question (https://plus.google.com/u/0/115981396355850645712/posts/GS4PQKPVA5v ) that I have bee thinking of asking a derivative of. We all know that using the VCL in a thread is a no-no, unless there is code to sync the changes on to the main thread.

What I would like to know is about creating objects that take an owner in in the constructor, such as an object that inherits from TDataSet - if 'nil' is passed in, is it ok to use (if normal main thread interaction is looked after) or is there an underlying issue deep within the VCL which can make this problematic?

Comments