R
RT
It was mentioned here that LockBits can sometimes be vulnerable to the
GC. Though the implication of docs that I've seen regarding LockBits
would imply that it is immune to the GC, I do have an app where a
custom control seems to lose its buffer and starts displaying random
data. Of course that couldn't be a bug in my code. <g> (it does seem
to wait a while, and it happens at random).
Seriously, has anyone heard of this? Any way to guard against it?
GC. Though the implication of docs that I've seen regarding LockBits
would imply that it is immune to the GC, I do have an app where a
custom control seems to lose its buffer and starts displaying random
data. Of course that couldn't be a bug in my code. <g> (it does seem
to wait a while, and it happens at random).
Seriously, has anyone heard of this? Any way to guard against it?