inpoutx64 problems with Windows 7 64 bit

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

inpoutx64 problems with Windows 7 64 bit

Post by Cromonix »

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
phil
Site Admin
Posts: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: inpoutx64 problems with Windows 7 64 bit

Post by phil »

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)?

Thanks,
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)
Post Reply