InpOut on ARM64 Win10 Machine

My x64 port of InpOut32
Post Reply
oliran
New User
Posts: 3
Joined: Thu Feb 13, 2020 4:54 pm

InpOut on ARM64 Win10 Machine

Post by oliran »

Hi, I am trying to use InpOutx64 with AMD64 architecture on a Win10 machine but having a really hard time figuring out how to get it to work. I tried to download the source and recompile for AMD64 but I'm noob at compiling libraries. I installed Windows 2003 Server DDK and have ddkbuild, but I keep getting an error that environment variable has to be set, even though I clearly set it in system and in properties->debugging inside VS2019.

Does anyone have a compiled AMD64 version of the .dll? Or any advice on how to get it to work will be greatly appreciated! Thank you!!

EDIT: NOT AMD64, I MEANT ARM64
Last edited by oliran on Sat Feb 15, 2020 3:33 pm, edited 1 time in total.
User avatar
phil
Site Admin
Posts: 7611
Joined: Sun Apr 06, 2003 11:12 pm

Re: InpOut on AMD64 Win10 Machine

Post by phil »

Why do you need to recompile it? AMD64 IS x64 - same thing - my port is x64 - the binaries should just work.
Download the latest binaries from my site - run the InstallDriver.exe and that should be it. The drivers included are signed x64 (and x86) drivers.

Intel x64 is AMD64 - AMD invented the x64 instruction extensions that Intel licensed. Its different for Itanium but then my driver port does not support that.

NOTE however that this is all rather old. It should still work on Windows 10 but I haven't used it myself in years. so no guarantees. Its been many years since I compiled the driver - I see no point even trying to do so now as I don't have the ability to sign it and without a signed driver, you don't get very far!

Regards,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
oliran
New User
Posts: 3
Joined: Thu Feb 13, 2020 4:54 pm

Re: InpOut on AMD64 Win10 Machine

Post by oliran »

Thank you so much for the reply! I was clearly on the wrong path, so you just saved me a lot of time. The reason I suspected the problem is with the architecture is that your port works perfectly on my Win10 i7 desktop, but I get an error "module failed to load" when running on HoloLens 2 device (ARM64). If you have any ideas I would appreciate it, but otherwise I'll keep tinkering and try to figure out why and report back with my findings...
User avatar
phil
Site Admin
Posts: 7611
Joined: Sun Apr 06, 2003 11:12 pm

Re: InpOut on AMD64 Win10 Machine

Post by phil »

Ahhhhhh....ARM64 not AMD64. That's a completely different story.
InpOut32/x64 does not support ARM. To be honest, I don't know enough about the ARM architecture to even know if its possible - and porting the driver to that (if it is possible) could be a whole different ball game because the hardware is so different (x86 -> x64 was relatively simple)

Sorry to bear bad news - it looks like that time was not saved after all!
PS. For ARM64, I expect you will need a much newer SDK/DDK than 2003 as that didn't support ARM at all. And I think the Windows driver architecture has changed significantly so it may be a start from scratch job with a lot of learning thrown in :(
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
oliran
New User
Posts: 3
Joined: Thu Feb 13, 2020 4:54 pm

Re: InpOut on AMD64 Win10 Machine

Post by oliran »

Oh oops I don't know why I said AMD64 :?

Thanks for the information! I wonder if there are other newer solutions out there that may work...
User avatar
phil
Site Admin
Posts: 7611
Joined: Sun Apr 06, 2003 11:12 pm

Re: InpOut on ARM64 Win10 Machine

Post by phil »

There may be newer solutions, but I don't know of any I'm afraid - and to be honest, Windows on ARM is so new, I would expect that there wont be much at all, let alone anything open source/free.

Good luck, and if you find anything let me know!
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Post Reply