I have a VB6 project producing a DLL file. I did the following experiment:
1. I open the VB6 project and compile it, then rename the resulted DLL file to Lib.DLL_1
2. compile again and rename the resulted DLL file to Lib.DLL_2
3. compare the files Lib.DLL_1 and Lib.DLL_2 with HEXCMP software(from http://www.grigsoft.com/hexcmp.htm
4. I tried to compare these two files with MD5.exe, and the MD5 codes are different.
Then the software show me that these two DLL files are different, while I expect them to be the same. Please help me at the following concerns:
1. Why would I get this result? Is it because of the time stamp of the files? or something else?
2. Can you suggest me a good way to compare the DCOM files?
More related information that I have: I have two files A and B with different names, and shown identical by HEXCMP and MD5.exe, so the file name should not matter. File B is obtained by moving A to a Visual Source Safe repository, and then retrive a copy from the repository. Then A and B are both renamed.