And the code you were using to write these members?
(You posted pseudo-code before...)

-- 
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi./sec ... not just a good idea, it's the LAW!


> -----Original Message-----
> From: Bryan Nystrom [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 30, 1999 2:15 PM
> To: [EMAIL PROTECTED]
> Subject: RE: DmWrite behavior.
> 
> 
> Here is my actual record;
> 
>  typedef struct {
>       long    mModifiedFields;
>       long    mUniqueId;
>       long    mDateA;
>       long    mDateB;
>       long    mDateC;
>       long    mDateD;
>       long    mPosition;
>       Byte    mItemA;
>       Byte    mItemB;
>       Byte    mItemC;
>       Byte    mItemD;
>       long    mRepeatDate;
>       UShort  mRepeatInterval;
>       char    mName;
>  } RecType;
> 
> And I was trying to DmWrite any of the mItemX records. 
> Alignment shouldn't
> be an issue.
> 
> -----Original Message-----
> From: Laurence Lundblade [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 30, 1999 3:34 PM
> To: [EMAIL PROTECTED]
> Subject: RE: DmWrite behavior.
> 
> 
> I understood it was a single byte, though my example wasn't 
> such.  I was
> just concerned that your hard coded offset was wrong due do 
> the compiler
> aligning things different that expected. (and the offset I 
> mentioned should
> have been 4, not 2)
> 
> LL
> 
> At 01:51 PM 12/30/99 -0600, you wrote:
> >Ok, maybe I'm not being clear. I am not having trouble with 
> an array of
> >bytes. I can't write JUST a SINGLE byte. So try this instead:
> 
> 
> 
> 

Reply via email to