Howdy everyone,
I'm having the strangest problem. I've been writing a little program to
compare two files, just for giggles, and thought that it'd be neat to
use MD5 sigs to compare file segments. So far so good. Then I decided to
play with saving information out as an XML file. I'm sorting through
that, adding bits, testing, everything is looking good, then I start
getting a runtime error: Assertion (!!(srcCharLen > 0)!!) in output.cpp.
The root of this seems to be this line here-
xchunkMD5.AppendChild(ses.CreateTextNode(mdHold2))
mdHold2 is an MD5 value, taken from this line:
mdHold2 = f2sigStack.Pop
wherein f2sigStack is a string array from:
f2sigStack.Append md5(s2.Read(chunkSize))
None of the strings show as empty, or anything else out of the ordinary,
and in fact, saving the xml is the only new part. Without the XML
routines it works fine. Searching around I found some reference to this,
but no workarounds or other resolutions. If I replace mdHold2 with any
other string value or string var, it works fine. I
Anybody have any ideas? I'm using Windows XP with 2006 R3.
Thanks,
Fargo
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>