[gpgme] gpgme_data_seek error

Werner Koch wk at gnupg.org
Tue Oct 12 14:31:03 CEST 2004


On Mon, 11 Oct 2004 19:23:40 +0200, micron  said:

> (already initialized and filled up with data).
> So I used the function: gpgme_data_seek (dataBuffer, 0, SEEK_SET);
> but I get error code 22: "Invalid argument".

A memory data object I presume?  Did you check that DATABUFFER is no
NULL?

Use a debugger and step through this function.

  Werner





More information about the Gnupg-devel mailing list