Windows error 0x80270255, -2144927147

Detailed Error Information

E_MULTIPLE_EXTENSIONS_FOR_APPLICATION[1]

MessageThis app has mulitple extensions registered to support the specified contract. Activation by AppUserModelId is ambiguous.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode39 (0x027)
NameFACILITY_SHELL[2][1]
DescriptionThe source of the error code is the user Shell.[2][1]
Error Code597 (0x0255)

Questions

4votes
0answers

Launch Windows Photos app from C++ for a list of files

I want to launch the Windows Photos app from C++ for a list of image files. Problem with Photos app is that, if it is launched using ShellExecute (for a single file) it disables the next and previous buttons, even if the folder contains other images. I have tried using [...] read more
c++
winapi
photos
3votes
0answers

Error opening file in Win10 Modern app launched from desktop C++

I'm trying to open an image file with the Windows 10 Photos app (which is a 'modern' app) from desktop C++ using the following code (error checks omitted for simplicity): DWORD pid; CComPtr<IApplicationActivationManager> paam; CoCreateInstance(CLSID_ApplicationActivationManager, NULL, CLSCTX_LOCAL_SERVER, IID_PPV_ARGS(&paam)); CoAllowSetForegroundWindow(paam, NULL); paam->ActivateForFile(pwszAppUserModelId, psia, L"open", &pid); pwszAppUserModelId is the app user model [...] read more
c++
windows-10
launching-application

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0