One final thing before I head off to work, just looking at your code.
You use EnableVB to create the buffer. If the underlyng memory describing your VB changes your not resizing the VB. That would be a problem if you change it after creating it. Not necessairy cause of this problem but down the road would be.
Doug
You use EnableVB to create the buffer. If the underlyng memory describing your VB changes your not resizing the VB. That would be a problem if you change it after creating it. Not necessairy cause of this problem but down the road would be.
Doug