Page 1 of 1

Write to parallel in C#. How to start?

Posted: Mon Oct 24, 2011 9:09 pm
by gilad
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.

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

Posted: Mon Oct 24, 2011 9:17 pm
by phil
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

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

Posted: Mon Oct 24, 2011 10:11 pm
by gilad
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 :)