Hello all!
Pardon my frustration but I'm quite displeased with my lack of programming understanding. My goal is to write an efficient, modularized function that returns the 32bit CRC for the file passed to it.
I've attempted to view other programmer's coding in hopes of better understanding what I'm doing but I've reached no conclusion there. I then attempted to alter preexisting code to do what I wanted; but once again, things turned nasty. The most basic of my problems is that I want the ability to do this check; but, I don't understand what I'm checking or how to check it.
I've been using Randall L. Glass' source to try to backtrack what he's doing; but, I don't know assembly and his code doesn’t produce output quite the way I like. I’d like to throw the lines out:
...and then run with the function's return; but, I can't figure out a clean way of doing this. Well, I’m quite frustrated with this obstacle and I’ll place the program on the backburners for a little while and hope you guys can throw some suggestions or code my way. Many thanks.
Don Ewald
[email protected]
Pardon my frustration but I'm quite displeased with my lack of programming understanding. My goal is to write an efficient, modularized function that returns the 32bit CRC for the file passed to it.
I've attempted to view other programmer's coding in hopes of better understanding what I'm doing but I've reached no conclusion there. I then attempted to alter preexisting code to do what I wanted; but once again, things turned nasty. The most basic of my problems is that I want the ability to do this check; but, I don't understand what I'm checking or how to check it.
I've been using Randall L. Glass' source to try to backtrack what he's doing; but, I don't know assembly and his code doesn’t produce output quite the way I like. I’d like to throw the lines out:
Code:
FileCRC$ = CRC32(FCheck$) IF FileCRC$<>InternalCRC$ THEN …
Don Ewald
[email protected]
Comment