TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Tom Moran <[log in to unmask]>
Mon, 8 Apr 2002 10:15:18 -0700
text/plain (10 lines)
> I'm developing an ADA program to control the parallel
> port on a PC. It seems easy, just as in C.
> The problem is I get some EXCEPTION ACCESS VIOLATION,
> everytime I try to access the address of the port
  What OS are you using?  You do realize that the later MS OSes don't
allow arbitrary program access to the IO ports.  Also, the fact you get
an Access violation sounds more like you are trying to access an illegal
RAM address.  You're sure you are not trying to access a port IO address
as if it was a memory address, right?