problem with inpout.dll

My x64 port of InpOut32
Post Reply
kau123
New User
Posts: 1
Joined: Sun Jan 24, 2010 2:15 pm

problem with inpout.dll

Post by kau123 » Sun Jan 24, 2010 2:25 pm

i download and copied inpout.dll in proper manner.presently i work with Microsoft visual studio 2008 in c#.net i want to andle port using inpout.dll but there is a problem comes that is

a reference to 'c:\inpout.dll' could not be added please make sure that the file is accessible,and that is a valid assembly or COM component


please tell me the solution its urgent my email-id itsme_kau123@rediffmail.com

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

Re: problem with inpout.dll

Post by phil » Sun Jan 24, 2010 2:31 pm

You cant add a reference. it is NOT a COM component.
You have to use interop and you need to pay attention to which version to use (x86/x64) because .NET works with both "automatically".

There is a 2005 C# example (which works fine with 2008 too) on my website which shows how to use Inpout from .NET in both x64 and x86 modes.

Thanks,
Phil
--[ 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