inpoutx64 problems with Windows 7 64 bit

My x64 port of InpOut32
Post Reply
New User
Posts: 1
Joined: Wed Feb 01, 2012 10:32 pm

inpoutx64 problems with Windows 7 64 bit

Post by Cromonix » Wed Feb 01, 2012 10:39 pm

Hi, I'm trying to compile a program with the inpoutx64.lib within VS 2008. I get a linker error for both 'Out32()' and 'Inp32()' calls. If I go back to inpout32.lib it compiles fine but no port activity. Program works fine on an XP 32-bit machine. Thanks.

User avatar
Site Admin
Posts: 5958
Joined: Sun Apr 06, 2003 11:12 pm

Re: inpoutx64 problems with Windows 7 64 bit

Post by phil » Wed Feb 01, 2012 11:00 pm

Are you building an x64 program?
You can only link to the x64 DLL from an x64 binary. Mixed linking is not allowed.

If your program is 32bit, then using the 32bit DLL should work, be aware that the driver needs elevated permissions to install (ie. the first time you run your program, or by using the InstallDriver.exe supplied).

You say it works fine of an XP machine... Is it the same hardware (what ports are you using and are they onboard or on PCI/PCIe/USb (which don't generally work)?

--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

Post Reply