cool i found the answer as to why this is
basically a void* can not be dereferenced because it has no type...
so trying to offest a void* the compiler didn't know the base unit of offset (ie for a char the offseting is 1byte, for int its 4bytes, for double 64bytes).. so basically i cast the void* to char* in order to do the offset (since i know the offset i need in single byte units), then recast it to myStruct*...
lets see it its gonna save though..
Bookmarks