ARM64X dll can't be load by x64 exe progess
I have build a dll with ARM64X guidance by microsft learn: https://learn.microsoft.com/en-us/windows/arm/arm64x-build
my environment is windows11(22h2)+ vs2022+ sdk(10.0.22621.0) + wdk(10.0.22621.382) + msvc(14.34.31933)
dumpbin out put is bellow:
I have write a program and build it to X64 && ARM64 PE, then I run it at Windows 11(ARM 21h2).
It could not be load by X64 progress even if ARM64 progress is excute well with this code.
I have got error code: 0x45a(ERROR-DLL-INIT_FAILED), and DllMain is not be called as debugprint.
Is anyone why this happend?
Isn't it ARM64X can load by x64 progress? Or I need other special step when build ARM64X dll?