I need to be able to build my code into a dll where the checksum of the dll
is the same everytime I build it. In other words, the same exact code gives
me a different checksum each time I build it.
Does anyone know why the dll would not be the same every time? Is it adding
a timestamp in the dll? If so, can I turn it off?
Thanks!
Carl Daniel [VC++ MVP] - 29 Jun 2005 18:55 GMT
> I need to be able to build my code into a dll where the checksum of
> the dll is the same everytime I build it. In other words, the same
> exact code gives me a different checksum each time I build it.
>
> Does anyone know why the dll would not be the same every time? Is it
> adding a timestamp in the dll? If so, can I turn it off?
There's a timestamp in the PE header. You can't turn it off. You need to
compute a checksum that excludes at least that part of the PE header if you
want to verify that two DLLs are the same by comparing the checksum.
-cd