VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

FYI: vbMemCompare (RTLMemCompare, MemCmp Alternative)

LaVolpe  (66 Submissions)   Miscellaneous   Intermediate   Wed 3rd February 2021

Want to compare 2 same-size bitmaps for equality? Want to compare 2 arrays for equality (even if arrays are different VarTypes)? NT-based systems have RTLCompareMemory, C has MemCmp. Win9x is reduced to byte by byte loops, more or less. This twist on that loop process comes really close to matching the speed of the two aforementioned API functions and can be used in every O/S. Thought I could use this for a project of mine, but the requirement went away. Compile the project for true tests (IDE is always slower). As always, stuffed with lots of comments.

Rate FYI: vbMemCompare (RTLMemCompare, MemCmp Alternative) (11(11 Vote))

Download FYI: vbMemCompare (RTLMemCompare, MemCmp Alternative)

FYI: vbMemCompare (RTLMemCompare, MemCmp Alternative) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters