the code :
short* sig = (short * ) MapViewOfFile (hCubeMapping,
FILE_MAP_COPY,
offset >> 32,
offset,
size);
works perfectly when offset = 0, but fails when offset is greater. I know that the offset must be a multiple of the allocation granularity (64K), but it returns NULL in any case. Please, help me to solve this problem