Your exe works perfectly on my machine. I only have VS2019 on my machine here, it says:
********************************************************************** ** Visual Studio 2019 Developer Command Prompt v16.10.1 ** Copyright (c) 2021 Microsoft Corporation ********************************************************************** C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional>cl Microsoft (R) C/C++-Optimierungscompiler Version 19.29.30037 für x86 Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. The only thing, I can see here, is that your cl.exe on VS2017 says, it's 64 bit. I will investigate that too. Jeffrey Walton schrieb am Freitag, 17. September 2021 um 10:58:29 UTC+2: > On Fri, Sep 17, 2021 at 4:32 AM Benjamin Schäfer <skullm...@gmail.com> > wrote: > > > > Could you provide me your .exe to test it on my machine? I still don't > get it and will try it on a fresh and clean machine also. > > Sure. https://www.cryptopp.com/test_pem.exe.zip > > I don't recall if that was built with VS2017 or VS2019. You may need a > specific version of the Visual C++ runtime. They are distributed by > Microsoft. I think you can get them here: > > https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0 > . > > Here are the two versions on my Windows machine: > > VS2017: > ********************************************************************** > ** Visual Studio 2017 Developer Command Prompt v15.0 > ** Copyright (c) 2017 Microsoft Corporation > ********************************************************************** > C:\Users\Jeff>cl.exe > Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27043 for x64 > Copyright (C) Microsoft Corporation. All rights reserved. > > VS2019: > ********************************************************************** > ** Visual Studio 2019 Developer Command Prompt v16.9.5 > ** Copyright (c) 2021 Microsoft Corporation > ********************************************************************** > C:\Users\Jeff>cl.exe > Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29915 for x86 > Copyright (C) Microsoft Corporation. All rights reserved. > > Jeff > -- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to cryptopp-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/698dafdb-df8e-41c9-a20e-90c8428904d0n%40googlegroups.com.