You will not be able to take advantage of the services offered in this site, without a browser that supports JavaScript 1.1 or better. Additionally your viewing experience will be limited. Please upgrade your browser or enable JavaScript prior to attempting to use any of the applications.
Attachments are fields like any other.
Use the ARCreateEntry and ARSetEntry calls to assign a value to an attachment field. The value structure has fields for filename and for the attachment contents. This means that the attachment does need to be read into memory and loaded into the structure and is created or set like any other field. On retrieval, the ARGetEntry call only returns the name and lengths of the attachment if there is one. To get the details, you have to use the special get blob call.