UWP Blank app throws error code: The app didn't start.. Activation phase: COM ActivateExtension

MUDIDE Goutham 0 Reputation points
2024-03-28T10:53:21.83+00:00

I'm trying to integrate a native DLL project (has huge code with 3rd party dependencies) to Blank UWP. The Blank App project build fine but throws error when it is lauched.

In Event Viewer, log suggests Error code: The app didn't start.. Activation phase: COM ActivateExtension.

Below is the artticle about "How to: Use existing C++ code in a Universal Windows Platform app" which states that UWP Apps run in a protected environment. As a result, many Win32, COM, and CRT API calls that might compromise platform security aren't allowed. The /ZW compiler option can detect such calls and generate an error. You can use the App Certification Kit on your application to detect code that calls disallowed APIs. For more information, see Windows App Certification Kit****.
https://learn.microsoft.com/en-us/cpp/porting/how-to-use-existing-cpp-code-in-a-universal-windows-platform-app?view=msvc-170

does that mens DLL project can't be integrated?

Universal Windows Platform (UWP)
{count} votes