I have an array like this
I am trying to extract a dword like this
This dosen't work
I've also tried
still dosen't work I guese it is just getting one byte since Data is an array of chars. The only way I have been able to do it is like this
memcpy(&dwNumber, (LPVOID)&Data, 4);
This seams like overkill there must be a better way to take a dword value from an arraw of chars.