Search:

Type: Posts; User: _Mike

Search: Search took 0.01 seconds.

  1. I know.. What I meant is; what type are the...

    I know.. What I meant is; what type are the variables in the struct?


    Why would you read 4 bytes if it's a 2 byte field?
  2. fread(&MainData->Info.biWidth, 2, 1, FileHandle);...

    fread(&MainData->Info.biWidth, 2, 1, FileHandle); // problem!
    fread(&MainData->Info.biHeight, 2, 1, FileHandle); // problem!

    What types are biWidth and biHeight? If they are 4-byte ints and you...
Results 1 to 2 of 2