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 »

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: 7666
Joined: Sun Apr 06, 2003 11:12 pm

Re: problem with inpout.dll

Post by phil »

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/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