ARM64X dll can't be load by x64 exe progess

Oliver 0 Reputation points
2023-02-09T09:21:23.5833333+00:00

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:User's image

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.

User's image

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?

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.