Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mica Sample: cpp-win32 builds but fails to run! #280

Open
Arebusf21 opened this issue Jan 19, 2023 · 1 comment
Open

Mica Sample: cpp-win32 builds but fails to run! #280

Arebusf21 opened this issue Jan 19, 2023 · 1 comment

Comments

@Arebusf21
Copy link

Arebusf21 commented Jan 19, 2023

Have reviewed the previous issue with this sample(#245) and have loaded the required run time as suggested:

Microsoft.WindowsAppRuntime.1.2_2000.707.2303.0_x86__8wekyb3d8bbwe
Microsoft.WindowsAppRuntime.1.2_2000.707.2303.0_x64__8wekyb3d8bbwe
MicrosoftCorporationII.WinAppRuntime.Main.1.2_2000.707.2303.0_x64__8wekyb3d8bbwe
MicrosoftCorporationII.WinAppRuntime.Singleton_2000.707.2303.0_x64__8wekyb3d8bbwe
Microsoft.WinAppRuntime.DDLM.2000.707.2303.0-x6_2000.707.2303.0_x64__8wekyb3d8bbwe
Microsoft.WinAppRuntime.DDLM.2000.707.2303.0-x8_2000.707.2303.0_x86__8wekyb3d8bbwe
Microsoft.WindowsAppRuntime.1.1_1005.616.1651.0_x86__8wekyb3d8bbwe
Microsoft.WindowsAppRuntime.1.1_1005.616.1651.0_x64__8wekyb3d8bbwe

running in Windows 10 with VS2022 Version 17.4.4, App cloned from Github
.
The App builds without any errors or warnings but fails to load, below is a copy of the Output when running in debug:

'WinAppSDKMicaSample.exe' (Win32): Loaded 'E:\Dev\Visual Studio 2022\repos\WindowsAppSDK-Samples\Samples\Mica\cpp-win32\x64\Debug\WinAppSDKMicaSample.exe'. Symbols loaded.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'E:\Dev\Visual Studio 2022\repos\WindowsAppSDK-Samples\Samples\Mica\cpp-win32\x64\Debug\Microsoft.WindowsAppRuntime.Bootstrap.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'.
'WinAppSDKMicaSample.exe' (Win32): Unloaded 'C:\Windows\System32\sechost.dll'
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140_1d.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140d.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'.
\BuildOutput\Release\x64\WindowsAppRuntime_DLL\WindowsAppRuntimeInsights.h(53)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FF96D870ED3: (caller: 00007FF96D870BF4) LogHr(1) tid(4d20) 8007007E The specified module could not be found.
Msg:[Unable to load resource dll. Microsoft.WindowsAppRuntime.Insights.Resource.dll]
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\AppXDeploymentClient.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\Windows.ApplicationModel.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\twinapi.appcore.dll'.
\dev\WindowsAppRuntime_BootstrapDLL\MddBootstrap.cpp(814)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FF96D869F04: (caller: 00007FF96D868BB1) LogHr(2) tid(4d20) 80040010 Object is not in any of the inplace active states
Msg:[Bootstrap.Intitialize: Scanning packages for Major.Minor=1.2, Tag=, MinVersion=2000.677.1750.0] CallContext:[\Initialize]
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\Windows.StateRepositoryCore.dll'.
\dev\WindowsAppRuntime_BootstrapDLL\MddBootstrap.cpp(923)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FF96D86A81A: (caller: 00007FF96D868BB1) LogHr(3) tid(4d20) 80040012 Not able to perform the operation because object is not given storage yet
Msg:[Bootstrap.Intitialize: Microsoft.WinAppRuntime.DDLM.2000.707.2303.0-x6_2000.707.2303.0_x64__8wekyb3d8bbwe is applicable (Major.Minor=1.2, Tag=, MinVersion=2000.677.1750.0)] CallContext:[\Initialize]
\dev\WindowsAppRuntime_BootstrapDLL\MddBootstrap.cpp(914)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FF96D86A7B2: (caller: 00007FF96D868BB1) LogHr(4) tid(4d20) 80040011 Not able to convert object
Msg:[Bootstrap.Intitialize: Microsoft.WinAppRuntime.DDLM.2000.707.2303.0-x8_2000.707.2303.0_x86__8wekyb3d8bbwe not applicable. Architecture doesn't match current architecture x64 (Major.Minor=1.2, Tag=, MinVersion=2000.677.1750.0)] CallContext:[\Initialize]
\dev\WindowsAppRuntime_BootstrapDLL\MddBootstrap.cpp(946)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FF96D86ABB2: (caller: 00007FF96D868BB1) LogHr(5) tid(4d20) 80040013 Msg:[Bootstrap.Intitialize: Microsoft.WinAppRuntime.DDLM.2000.707.2303.0-x6_2000.707.2303.0_x64__8wekyb3d8bbwe best matches the criteria (Major.Minor=1.2, Tag=, MinVersion=2000.677.1750.0) of 252 packages scanned] CallContext:[\Initialize]
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\twinui.appcore.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\wldp.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\OneCoreUAPCommonProxyStub.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\daxexec.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\fltLib.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\container.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\usermgrcli.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\twinui.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\pdh.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\umpdc.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\Windows.StateRepositoryPS.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\LicenseManagerApi.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\capauthz.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\propsys.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\Windows.FileExplorer.Common.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\iertutil.dll'.
onecoreuap\internal\shell\inc\private\StateRepoUtil.h(40)\Windows.FileExplorer.Common.dll!00007FF9624FB501: (caller: 00007FF9624FFCC8) ReturnHr(1) tid(32d0) 8000000B The operation attempted to access data outside the valid range
onecoreuap\internal\shell\inc\private\StateRepoUtil.h(40)\Windows.FileExplorer.Common.dll!00007FF9624FB501: (caller: 00007FF9624FFFE3) ReturnHr(2) tid(32d0) 8000000B The operation attempted to access data outside the valid range
onecoreuap\internal\shell\inc\private\StateRepoUtil.h(40)\Windows.FileExplorer.Common.dll!00007FF9624FB501: (caller: 00007FF9624FFCC8) ReturnHr(3) tid(32d0) 8000000B The operation attempted to access data outside the valid range
onecoreuap\internal\shell\inc\private\StateRepoUtil.h(40)\Windows.FileExplorer.Common.dll!00007FF9624FB501: (caller: 00007FF9625002C1) ReturnHr(4) tid(32d0) 8000000B The operation attempted to access data outside the valid range
onecoreuap\internal\shell\inc\private\StateRepoUtil.h(40)\Windows.FileExplorer.Common.dll!00007FF9624FB501: (caller: 00007FF96250059D) ReturnHr(5) tid(32d0) 8000000B The operation attempted to access data outside the valid range
onecoreuap\internal\shell\inc\private\StateRepoUtil.h(40)\Windows.FileExplorer.Common.dll!00007FF9624FB501: (caller: 00007FF9624FFFE3) ReturnHr(6) tid(32d0) 8000000B The operation attempted to access data outside the valid range
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\edputil.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\urlmon.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\srvcli.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\netutils.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\cldapi.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\AppResolver.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\slc.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\userenv.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\BCP47Langs.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\sppc.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\OneCoreCommonProxyStub.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\mpr.dll'.
'WinAppSDKMicaSample.exe' (Win32): Loaded 'C:\Windows\System32\execmodelproxy.dll'.
\dev\WindowsAppRuntime_BootstrapDLL\MddBootstrap.cpp(373)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FF96D8680CF: (caller: 00007FF96D8671DB) Exception(1) tid(4d20) 80070005 Access is denied.
Msg:[Error in LoadLibrary: 5 (0x5) loading C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.2_2000.707.2303.0_x64__8wekyb3d8bbwe\Microsoft.WindowsAppRuntime.dll] CallContext:[\Initialize]
Exception thrown at 0x00007FF999C6CD29 in WinAppSDKMicaSample.exe: Microsoft C++ exception: wil::ResultException at memory location 0x0000000737F2CBD0.
Exception thrown at 0x00007FF999C6CD29 in WinAppSDKMicaSample.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
\dev\WindowsAppRuntime_BootstrapDLL\MddBootstrap.cpp(213)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FF96D87BB71: (caller: 00007FF96D866E09) ReturnHr(1) tid(4d20) 80070005 Access is denied.
Msg:[\dev\WindowsAppRuntime_BootstrapDLL\MddBootstrap.cpp(373)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FF96D8680CF: (caller: 00007FF96D8671DB) Exception(1) tid(4d20) 80070005 Access is denied.
Msg:[Error in LoadLibrary: 5 (0x5) loading C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.2_2000.707.2303.0_x64__8wekyb3d8bbwe\Microsoft.WindowsAppRuntime.dll] CallContext:[\Initialize]
] CallContext:[\Initialize]
\dev\WindowsAppRuntime_BootstrapDLL\MddBootstrap.cpp(166)\Microsoft.WindowsAppRuntime.Bootstrap.dll!00007FF96D866EF7: (caller: 00007FF777D5515C) ReturnHr(2) tid(4d20) 80070005 Access is denied.
CallContext:[\Initialize]
The thread 0x32d0 has exited with code 2147942405 (0x80070005).
The thread 0x4a00 has exited with code 2147942405 (0x80070005).
The thread 0x3210 has exited with code 2147942405 (0x80070005).
The thread 0x3e08 has exited with code 2147942405 (0x80070005).
The thread 0x25c has exited with code 2147942405 (0x80070005).
The thread 0x4df0 has exited with code 2147942405 (0x80070005).
The thread 0x3264 has exited with code 2147942405 (0x80070005).
The thread 0x2c18 has exited with code 2147942405 (0x80070005).
The thread 0x6c8 has exited with code 2147942405 (0x80070005).
The thread 0x448c has exited with code 2147942405 (0x80070005).
The program '[0x1E9C] WinAppSDKMicaSample.exe' has exited with code 2147942405 (0x80070005).

@aisnote
Copy link

aisnote commented Sep 19, 2024

same, where to download dwritecore.dll?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants