Hi new user Windows is considered to be a "secure" operating system so you cannot just access ports directly. User applications (such as yours) are run in a user mode therefore you cannot access ports. Most of things in OS are done with API (Application Programming Interface), so, if you need to read something from port/file you need to load some library (.DLL) and access the function in it.
I recommend browsing the web for tutorials of how to use API Try yahoo or google search for "delphi api tutorials" And yes, you can use ASM in Delphi but you won't have as much freedom as you do in DOS for example. On 6/8/07, andi <[EMAIL PROTECTED]> wrote: > > hi i'm new user. > how to use inline assembly in delphi . if i'm using win xp, then try to > use 'out' or 'in' instruction , it will give me error message -> privileged > instruction .... > > i can use driver like: inpout32.dll, but it means i cannot use assembly > instruction. is there anything i can do if i still want the assembly? > > thanx. > __________________________________________________ > Delphi-Talk mailing list -> Delphi-Talk@elists.org > http://www.elists.org/mailman/listinfo/delphi-talk > -- "Human brain is a search engine for joy" - Eugene Nosko __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk