HP3000-L Archives

September 1995, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Subject:
From:
Walter Murray <[log in to unmask]>
Reply To:
Walter Murray <[log in to unmask]>
Date:
Mon, 18 Sep 1995 21:19:43 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
chris michael ([log in to unmask]) wrote:
: Does anyone have any sample code accessing an image database from posix
: using C that they'd be willing to share?  We're having a heck of a time
: finding a data structure that C and Image can both agree on for the db
: intrinsics.  The RC is looking at the code and they can't figure out what
: we're doing wrong--or at least they haven't so far....
 
: The code examples in the Image manual don't seem to work under Posix.
 
Be sure you are using the fifth edition of the manual (April 1994).
The previous edition had numerous errors in the sample C code (documented
in SR 5003101402).
 
If you are having trouble with alignment, check out Engineering Note
W1680208, "Solving the alignment problem when accessing IMAGE from C/XL",
available on SupportLine or from the Response Center.  That EN contains
a complete sample program that you might find useful.  It demonstrates
one technique for getting around alignment mismatches.  Another technique
would be use use #pragma HP_ALIGN MPE_16 and the +u compiler option.
 
Walter Murray
HP Support Technology Lab

ATOM RSS1 RSS2