You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an exception when I call this method DismApi._GetProvisionedAppxPackages(DismSession)
Other methods of the API seem to work. Even though I have not tried everything.
Since I'm really bad at managed code any help would be appreciated :)
Thrown on : DismApi._GetProvisionedAppxPackages(onlineSession);
Managed Debugging Assistant 'FatalExecutionEngineError' :
Additional Information: The runtime has encountered a fatal error. The address of the error was at 0x7363c430, on thread 0x3ff8.
The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code.
Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.
dism.log :
[18092] [0x8007007b] FIOReadFileIntoBuffer:(1381): La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte. | >> English <<: The syntax of the file, directory, or volume name is incorrect
[18092] [0xc142011c] UnmarshallImageHandleFromDirectory:(641)
[18092] [0xc142011c] WIMGetMountedImageHandle:(2897)
Edit :
I built the last master and I used the Nuget package in prerelease v.1.7.0-g and the same exeption is thrown in the ExtensionMethods.cs Class here :
publicstatic T ToStructure<T>(thisIntPtrptr){return(T)Marshal.PtrToStructure(ptr,typeof(T));}
The text was updated successfully, but these errors were encountered:
* Add missing Regions field to DismAppxPackage_
This was causing fatal errors when marshalling the struct because the size was off. Also added a unit test.
Fixes#58
* Update test because AppVeyor machine has no packages installed :(
Hello,
I have an exception when I call this method
DismApi._GetProvisionedAppxPackages(DismSession)
Other methods of the API seem to work. Even though I have not tried everything.
Since I'm really bad at managed code any help would be appreciated :)
Environnement :
VS - 2017(As Administrator) / WPF
.NET 4.6.1
Non-English W10 - 1803
Code :
Thrown exception :
Thrown on :
DismApi._GetProvisionedAppxPackages(onlineSession);
dism.log :
Edit :
I built the last master and I used the Nuget package in prerelease v.1.7.0-g and the same exeption is thrown in the
ExtensionMethods.cs
Class here :The text was updated successfully, but these errors were encountered: