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