Hey, I think that I have fixed the problem when compiling xcb programs with a c++ compiler. Also, XCBImagePut returns 1 if no problem arises. Vincent > I guess I have to wait Vincent to get back to me.