Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Ted Collins   on Dec 24 In MS Office Category.

  
Question Answered By: Luete Fischer   on Dec 24

I checked it out. Have you tested it yet? I read through it and I don't
see any reason why it shouldn't work. 8N1 9600 are valid parameters  for
parallel as well as serial  ports I think. So I wouldn't assume this code
doesn't work.

And you'll notice the handles are appropriate in the two spots -
hParallelPort instead of hSerialPort, and you can see above where these
file handles get opened - hParallelPort = CreateFile(...)

So I would say, pretend it works and see if you can get it, and report
back if you do have a problem.

And congrats - directly programming the I/O is quite an accomplishment!

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on APIs in the Kernel32.dll for Port I/O Or get search suggestion and latest updates.


Tagged: