I understand. Sometimes there just seems to be no apparent reason for differing results. At this point, per your suggestion, I have changed my script to use my DLL.

Please, might I be able to get a copy of the executable you have been running (as well as the script that generated it). I'm cousious as to whether the same executable that works for you will also work for me. If so, it would tend to point to my SB6 installation not being the same as yours, which could be why we get differing results.