> I was looking over some code in my program and all of a sudden I got >nervous. The following bit of code works, but should I be locking resHand& >before copying data from it? If you don't, and something you do causes the memory manager to move things around, you could be in for all sorts of nasties; anything from getting bad data to bus errors that result from referencing addresses that don't exist to system hangs and crashes. Don't forget to unlock it when you no longer need it pinned down. Charlie Dickman charlied@...