I am using memcpy()function..
memcpy(&_bpb, bBootSector, 512);
where _bpb is the variable of structure, bBootSector is byte array
the whole progran works fine but at the exit it generates the following error:
"Run-Time Check Failure #2 - Stack around the variable '_bpb' was corrupted."
Can any one please guide me how it can be solved..I am compiling the program in visual studio 2005...