Write to parallel in C#. How to start?

My x64 port of InpOut32
Post Reply
gilad
New User
Posts: 2
Joined: Mon Oct 24, 2011 8:58 pm

Write to parallel in C#. How to start?

Post by gilad » Mon Oct 24, 2011 9:09 pm

Hi,
I built device that connect to the parallel port few years ago.
I remember that I've used the inpout32.dll to write to this device through the parallel port (XP 32bit).

Today, I want to write a new program to this device using C# (VS2010) on Win 7 pro X64.
I downloaded the inpoutx64.dll and I installed it with the InstallDriver.exe .

How can I added it to my C# project?
What's the code that i should add in order that my code will "know" these new commands (out32, in32 ..?)
Should I add it as a reference? (It does not recognized the dll...)

Thanks a lot,
Gilad.

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

Re: Write to parallel in C#. How to start?

Post by phil » Mon Oct 24, 2011 9:17 pm

There are c# and vb.net examples on my inpout32 website. Do they not answer this question?
The solution is 2005 but it should load into vs2010 and convert/update fine.

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)

gilad
New User
Posts: 2
Joined: Mon Oct 24, 2011 8:58 pm

Re: Write to parallel in C#. How to start?

Post by gilad » Mon Oct 24, 2011 10:11 pm

phil wrote:There are c# and vb.net examples on my inpout32 website. Do they not answer this question?
The solution is 2005 but it should load into vs2010 and convert/update fine.

Thanks,
Phil
Yes, thanks.
I don't know how I missed that.

That should give me the kick off :)

Post Reply