Quote:
Originally posted by persianboy
I have a listview in my program, am i going to have any problems if 2diff thread access ( read and write ) to it at the same time?!
if yes what to do? ( can we syncronize it somehow? )
and another question that has to do with threading in genral , when 2 threads access the same obj, are we only gonna have problems when they both want to write to it? or problems happen both when writting and reading?
thanks for your times again...
Yes you will have problems. You have to lock the thread while you write. Use the synclock keyword.