On Thu, 1 Dec 2016 03:54, r...@sixdemonbag.org said: > For long and boring reasons I need to be able to call GPGME from > Microsoft Visual C++. The MSVC linker requires .lib files, which are > not shipped with GnuPG. That's okay: the procedure to make them is
The gnupg 2.1 installer actually installs all header files as well as the the .lib files (look for *.imp). Note that the -11 suffix is not used with the imp files. If you are using glib or gtk+ make sure to link against libgpgme-glib.imp. > My sample code runs just fine on OS X and Linux, incidentally, so I > doubt the problem is with it. (If people want to see it just to make set GPGME_DEBUG=9;c:/temp/gpgme.log mygpgmebasedtool and then look at the log file. It will show you where it looks for gnupg. The code in gpgme works even for gnupg 1.4 but it prefers gnupg 2.x. Did you install gpgme-w32spawn.exe alongside gpgme-11.dll ? This wrapper is required due to pecularities of Windows' CreateProcess API. Salam-Shalom, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
pgp_QjIVPbaWn.pgp
Description: PGP signature
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users