GPGME -- Context

Daniel Mueller daniel at danm.de
Sat Oct 10 20:36:24 CEST 2009


Hi Matthias,

On Sat, 10 Oct 2009 15:19:14 +0200 Matthias Fuchs wrote:

> I have GPGME 1.2.0 [..]
> [..]
> gpgme_ctx_t ctx = 0;
> gpgme_error_t errCtx = gpgme_new (&ctx);
> std::cout << errCtx << std::endl; //always prints 536871088

Did you call gpgme_check_version(const char *REQUIRED_VERSION) before
creating the context? Please see gpgme's developer info page section 2.6
"Library Version Check" for more information.

bye,
Daniel

-- 
Daniel Mueller          http://www.danm.de
Berlin, Germany         OpenPGP: F9F982C1



More information about the Gnupg-devel mailing list