GPA doesn't run for me on a 32-bit XP install of 2.2.2

I used the full version of Gpg4Win (2.2.2) to install it on 2 different 32-bit XP machines.
On 1 install: I installed all components except Claws and GpgOL.
On the other: all except GgpOL.

GPA gives an error when it tries to run:
“gpa.exe - Entry Point Not Found
This procedure entry point rand_s could not be located in the dynamic
link library msvcrt.dll”

The portable “light” version that I made from these also has the same problem.

On a friend’s 64-bit machine, GPA runs fine.

best is to open a report in the issue tracker for gpa.



Gpg4Win does not link against msvcrt.dll, So I think you might be running into the same problem I’ve fixed for kleopatra in 2.2.2 that the DLL Load order prefererred other Libraries in the Path to the libaries in the working directory.

Can you try to set your PATH environment variable to include the gpg4win installation as the first folder in PATH please.

There is probably some other software using GTK conflicting in there.

But as Bernhard said, a bug would be best to check this out.


Thanks for the suggestion. My PATH now starts with:
Path=C:\Program Files\GNU\GnuPG;C:\Program Files\GNU\GnuPG\pub;C:\WINNT\system32;C:\WINNT;…
but it didn’t change the results.

I’m currently reviewing items in Tracker.

another reason I could think of would be that you have a ibrary in your windows\system32 folder that conflicts.

A great tool to analyse library load errors is dependency walker.

It should show you which libraries are loaded and which will then try to load the viusal c runtime.

I ran DW on the gpa.exe file (assuming that’s the correct procedure), and have opened a Bug report with the results (ID 6564).
Thanks for the suggestion.