<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-11-01 13:06 GMT-03:00 Luca Olivetti <span dir="ltr"><<a href="mailto:luca@wetron.es" target="_blank">luca@wetron.es</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">El 01/11/15 a les 13:25, Leonardo M. Ramé ha escrit:<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
To me, the code looks correct, but I'm getting a SIGSEGV while assigning<br>
the bookmark. I must add the error only happens the 2nd or 3rd time this<br>
method is called:<br>
</blockquote>
<br></span>
I suppose that's because the bookmark is only valid while the query is opened, buy you close it between getting the bookmark and setting it.<br>
<br></blockquote><div><br></div><div>Yes. In TBufDataset, the bookmark references the internal buffer memory. As soon dataset is closed, the memory may change<br><br></div><div>Luiz<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Bye<span class="HOEnZb"><font color="#888888"><br>
-- <br>
Luca Olivetti<br>
Wetron Automation Technology <a href="http://www.wetron.es/" rel="noreferrer" target="_blank">http://www.wetron.es/</a><br>
Tel. <a href="tel:%2B34%2093%205883004" value="+34935883004" target="_blank">+34 93 5883004</a> (Ext.3010)  Fax <a href="tel:%2B34%2093%205883007" value="+34935883007" target="_blank">+34 93 5883007</a></font></span><div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" rel="noreferrer" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</div></div></blockquote></div><br></div></div>