On 2/14/07, Peter Dimov <pdimov@mmltd.net> wrote:

CBufferPtr buffer = *static_cast<CBufferPtr*>(result.Context());


You might also need a const_cast in there, since Context() returns a const void *?


Tony