www.digitalmars.com         C & C++   DMDScript  

c++.dos.32-bits - selectors

I have no experience with selectors. I only know that I could create a
with the following function: void __far *_x386_mk_protected_ptr(
  unsigned long abs_addr);
now I have the following questions:
- how could I set the length of a selector ( for example 64kb)    ?
- how could I set permissions to a selector( read,write,execute)    ?

I hope someone could help me
Apr 30 2002