Click to See Complete Forum and Search --> : Parallel Port read / write


markwalker84
July 11th, 2006, 11:40 AM
Hi there.

Firstly:

I am using an XP machine running SP2.
I am using Microsoft Visual C++ 2005 Express Edition.
I am new to VC++ (have a base in C)
I click New -> Project -> CLR -> Windows Form Application
I use the template style files that VC++ gives me which include;

Form1.h
resource.h
stdafx.h
app.ico
app.rc
AssemblyInfo.cpp
"Project_Name".cpp
stdafx.cpp
ReadMe.txt

So - now that everyone knows where i am coming from hopefully i can ask a question more effectively :)

Basically... how do i gain access to my parallel port for both read and write of the 8 bit data bus?

I have already got a copy of inout32.dll in my system folder (left over from a 'C' concole application i had which did what i am hoping to do in VC++) but i cant get any of the commands to call without crashing the program.

Any ideas?

Thanks

Mark

markwalker84
July 19th, 2006, 06:58 AM
***bump*** ;)

markwalker84
July 20th, 2006, 09:27 AM
40 views and no replies...

Either i've asked the most difficult question in the world or i've asked the easiest...

:(

markwalker84
July 26th, 2006, 04:47 AM
Hi there.

I'm sure that this is not such a difficult topic that no one knows the answer. If i have asked in the wrong foum, or have not followed some other requirement then please let me know.

If the answer is VERY obvious then could someone at least point me in the right direction?

Thanks

Mark