Description: In. Net2.0 environment WinForm development process, when in multi-threaded interface to modify the status of the control will throw an exception: Cross-thread operation not valid: Control ' textBox1' accessed from a thread other than the thread it was created on. After the query know that this is because. net 2.0 after the strengthening of the security mechanism does not allow cross-thread winform directly control the properties of the visit. Online at Google to find a solution there are three, now finishing the three solutions as follows:
To Search:
File list (Check if you may need any files):
BossHook
........\BossHook.cpp
........\BossHook.dsp
........\BossHook.dsw
........\BossHook.ncb
........\BossHook.opt
........\BossHook.plg
........\BossSocket.cpp
........\BossSocket.h
........\Debug
........\.....\BossHook.dll
........\.....\BossHook.exp
........\.....\BossHook.ilk
........\.....\BossHook.lib
........\.....\BossHook.obj
........\.....\BossHook.pch
........\.....\BossHook.pdb
........\.....\BossSocket.obj
........\.....\vc60.idb
........\.....\vc60.pdb
........\Head.h