Le 20 mars 08 à 16:04, Dave Carrigan a écrit :
On Mar 20, 2008, at 6:48 AM, Sherm Pendley wrote:
On Thu, Mar 20, 2008 at 9:25 AM, Nick Rogers <[EMAIL PROTECTED]>
wrote:
Hi
I'm using memcpy to copy a file's sector to my struct.
But its skipping one UInt16 in between and copying the next va
On Mar 20, 2008, at 6:48 AM, Sherm Pendley wrote:
On Thu, Mar 20, 2008 at 9:25 AM, Nick Rogers <[EMAIL PROTECTED]> wrote:
Hi
I'm using memcpy to copy a file's sector to my struct.
But its skipping one UInt16 in between and copying the next value in
the struct's corresponding field.
I've checke
On Thu, Mar 20, 2008 at 9:25 AM, Nick Rogers <[EMAIL PROTECTED]> wrote:
> Hi
> I'm using memcpy to copy a file's sector to my struct.
> But its skipping one UInt16 in between and copying the next value in
> the struct's corresponding field.
> I've checked the read sector and its correctly read. My
Hi
I'm using memcpy to copy a file's sector to my struct.
But its skipping one UInt16 in between and copying the next value in
the struct's corresponding field.
I've checked the read sector and its correctly read. My struct is
also in order.
Listing:
memcpy(&myStruct, sector, sizeof(myStruct)