09-15-2004 11:22 AM
09-17-2004 10:03 AM
05-24-2012 11:47 PM
Hello,
Even I need to calculate and do the integrity check on my application files everytime it is launched.Can somone please share me the sample code for the same.
06-04-2012 09:24 PM
You say you're trying to verify the integrity of the source code, but then you check the executable code?
Maybe what you meant was that you want to verify that possibly different source files generate the same executable.
This is an old topic, you can try searching the knowledge base or the forum and you'll find a couple of threads on this issue. As I recall, with CVI, you're not guaranteed to generate the same binary executable signature, even if the same source code is used and all of the build / compile settings are the same. I wouldn't bet that the .obj files are the same either, but they might be.
I wouldn't have thought that Visual Studio would guarantee identical .exe files either but maybe it does.
We used to do this in the old days with minicomputer systems, but for the last many years with PC's I've never counted on being able to compare CRC's on an executable file as proof of identical code.