Error in receiving the unsigned char * (image)
i hve written the code like this
qint64 bytes = imagebuffer->write((const char) buf,sizeof(buf)); // buf is received unsigned char*
imagebuffer->seek(imagebuffer->pos() - bytes);
qDebug() << "Image file was received ";
when i execute this am getting error as
can any body suggest me what and where is the error
Please enclose your code in coding tags, that will make it readable.
As for your problem:
You don't initialize imagebuffer
Please ask your question on the "General and Desktop forum":http://qt-project.org/forums/viewforum/10/.
This forum is for contributions to Qt.