The point is not in the HWND itself, but in the fact, that a shared class has a non-shared member. Isn't shared supposed to be transitive?
On Mon, Oct 17, 2011 at 2:55 PM, Kagamin <s...@here.lot> wrote: > Gor Gyolchanyan Wrote: > >> My second question is: why the deuce isn't HWND member shared too >> inside my class? > > It should not be shared. And you shouldn't ever pass HWND across threads. >