[Solved] computing hashValue of a file


The problem is you declare resultstream as

CHAR resultstream[33];

but then you use in your code

resultstream[33] = '\0';

The resultstream array is 0 indexed so valid values are 0-32, you are accessing memory not allocated for that array (hence the “Access violation”)

0

solved computing hashValue of a file