Compiling 32bit app using VS2015 but 64bit version of API-MS-WIN-EVENTING-PROVIDER-L1-1-0.DLL is used

Bob Ioannidis 20 Reputation points
2023-12-13T20:09:15.5066667+00:00

Hi guys,

I am compiling a 32bit app using VS2015 but for some unexlained reason the 64bit version of API-MS-WIN-EVENTING-PROVIDER-L1-1-0.DLL is used instead of (i guess the equivalent 32bit version). This causes my application to crash silently on any machine that does not have the dll at hand.

The path to the .dll is

c:\program files (x86)\windows kits\10\windows performance toolkit\API-MS-WIN-EVENTING-PROVIDER-L1-1-0.DLL

I have never installed the windows 10 kit neither the WPA toolkit so I am wondering if this was automatically installed with VS2015. I am currently running on a Win11 64bit machine.

Any ideas on how to unistall WPA or Win10 SDK toolkit without killing my VS2015 or maybe installing the 32bit version of the Win10 SDK or its WPA for that matter?

I appreciate any pointers.

Thank you.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,223 questions
Windows Performance Toolkit
Windows Performance Toolkit
A collection of Microsoft performance monitoring tools that produce in-depth performance profiles of Windows operating systems and applications.
107 questions
0 comments No comments
{count} votes

Accepted answer
  1. RLWA32 45,701 Reputation points
    2023-12-13T22:06:47.9666667+00:00

    The installer for VS2015 will install the Windows 8.1 SDK. If you have a later version of Visual Studio installed on the same system a Windows 10 SDK was probably installed with it.

    Look for installed Windows 10 SDKs in Apps & Features or in Control Panel. If they exist you can then remove installed versions of the Windows Performance Toolkit. You probably don't want to completely uninstall the Windows 10 SDKs if you do have VS2017, VS2019 or VS2022 installed.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.