Click to See Complete Forum and Search --> : HELP : parallel communication under NT


yuaner
May 19th, 1999, 05:21 AM
hello
I've tried those routines like _oup(),.They all work good under WIN95 and WIN98, but not supported by WINNT.
I also have tried
CrearteFile()
WriteFile()
ReadFile()
NT just not support.
NT doesn't allow operate on hardware directly ,It always tell me that I have no privilege .
What should I do under NT?
THANKS!

Adam Slota
May 19th, 1999, 06:39 AM
Well
I'm using CreateFile, WriteFile successfully under windows NT
and I can't agree NT doesn't support it.
What I guess your problem could be, as you actually mentioned,
are security problems.
I work using full prilleges as administrator and there are no problems.
So you should check security options.

Natali Levit
May 19th, 1999, 09:10 AM
Window NT don't let to communicate directly with hardware and ignore functions like _outp() . You need to write kernel-mode driver to access ports under WindowsNT.

However Win32 functions like CreateFile etc. work peferctly under any Win32 platform.