Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / June 2005

Tip: Looking for answers? Try searching our database.

build same dll but checksum different each time?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gameMaker - 29 Jun 2005 18:38 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?

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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.