Original Post
Hi i have some problems with mapping files, i store my data in blocks the following xyz, xyz, xyz, rgb, rgb, rgb, rgb, normals, normals, normals, normals in this case 4 vertices each with xyz, rgb, and a normal now i map the file in memory, to stream as fast as possible HANDLE hFm = MapViewOfFile(reinterpret_cast (fileHandle), dwDesiredAccess, dwFileOffsetHigh, dwFileOffsetLow, dwNumberOfBytesToMap ); // cout << GetLastError() << endl; i can map the whole file into memory by setting dwOffsetHigh and low to NULL, but this is not what i want, because there is some level of detail going on. i want to read the first 2 points of xyz, and say normals this requires me to offset the fileHighOffset and fileLowOffset, i've been reading documents but they are talking about system granularity etc. all that i want is a function that i can set the current pointer to in this case the normal block and read #bytes from there any links, help tutorials Tia Paul