> Well, it was the fact that the thread proc didn't have access to the
> class... I do bear in mind the idea of passing a pointer to the class
> to the thread as the lParam but to be honest I didn't want the proc to
> have such open access to things - I was trying to give it the minimum
> it needed ("tight coupling"?).

Well, the way I do this is providing public member function for all the
tasks the thread is allowed to do, and implement the rest as private.

-------------
Ehsan Akhgari

Farda Technology (http://www.farda-tech.com/)

List Owner: [EMAIL PROTECTED]

[ Email: [EMAIL PROTECTED] ]
[ WWW: http://www.beginthread.com/Ehsan ]

He who sees the abyss, but with eagle's eyes - he who with eagle's talons
grasps the abyss: he has courage.
-Thus Spoke Zarathustra, F. W. Nietzsche





Reply via email to