Search:

Type: Posts; User: matsp

Search: Search took 0.04 seconds.

  1. Replies
    28
    Views
    3,629

    You are reading a 4 byte signature and printing...

    You are reading a 4 byte signature and printing it as a null-terminated string - there is no guarantee that there will be a zero to terminate the string...

    --
    Mats
  2. Replies
    28
    Views
    3,629

    Have you checked that read actually succeeds,...

    Have you checked that read actually succeeds, because the value you are printing is 0xCCCCCCCC, which is MS VS standard fill pattern for "uninitialized stack space", so it appears that read isn't...
  3. Replies
    28
    Views
    3,629

    Can you verify that sizeof(header) is twelve? ...

    Can you verify that sizeof(header) is twelve?

    --
    Mats
  4. Replies
    28
    Views
    3,629

    So EXACTLY which part of the problem are you...

    So EXACTLY which part of the problem are you struggling with? How far have you got?

    --
    Mats
Results 1 to 4 of 4