Posted by Barbara Brazil on January 07, 2019 at 13:05:30:
In Reply to: STL Crashes Comet posted by Grant Foraker on January 07, 2019 at 09:59:52:
I think the issue is that the iterator for the map is undefined at this point. If you look at the IB reference for the STL statements you'll see that stlRead is one of the iteration functions. I understand what you're trying to do. You're trying to do a partial key read to position the file pointer to the first of a group of records. But this isn't IB and the Comet file system. It works differently. stlGet doesn't use an iterator. Thus when you do the stlRead it's undefined. You can use stlRead after stlBegin, stlEnd, stlNext, or stlPrev.
That being said, Comet probably shouldn't crash if the iterator is undefined. I will have to write a test program to prove my theory.
Post a Followup
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.