A really little OCI-Problem
Date: 1995/12/11
Message-ID: <4ah5p1$dp1_at_news.rz.uni-passau.de>#1/1
A short problem about OCI:
The 'odefin'-call requires a buffer and a bufferlength to store fetched datas.
The bufferlength is a integer-parameter, which is on some systems limited to
2 bytes. To use greater than 64K buffers, you must write the bufferlength
in the first 4 bytes of buffer, and pass -1 as bufferlength!
Now my question: Must i code the bufferlength in LOW-HIGH or HIGH-LOW order in the
first 4 bytes of buffer. To my knowledge, this is related to the processor-architecture (i`m working on SUN-SPARCS with Solaris 2.3). But in which order the 'odefin'-function requires my bufferlength?
Many Thanks and best regards,
KLaus Berndl berndl_at_fmi.uni-passau.de
Received on Mon Dec 11 1995 - 00:00:00 CET