<div dir="ltr"><div>Seems that the ios doesn't allocated properly my objects,. after allocation when trying to run a function from the object it fails.</div>
<div>I tried replacing the New(subchunks[X]) to SubChunks[X] := AllocMem(sizeof(Chunk));</div>
<div>Again this works on the windows, it doesn't on the ios.</div>
<div> </div>
<div>Have you got any ideas?</div>
<div>---</div>
<div>Amit<br><br></div>
<div class="gmail_quote">On Wed, Feb 2, 2011 at 3:34 PM, Amit Bueno <span dir="ltr"><<a href="mailto:amitbueno@gmail.com">amitbueno@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Attached is the shrinked prof.rar file (481kb).<br>You can download it as well from:<br><a href="http://bueno.co.il/files/prof.rar" target="_blank">http://bueno.co.il/files/prof.rar</a><br>
<div class="im"><br>---<br>Amit<br><br>-----Original Message-----<br>From: <a href="mailto:fpc-pascal-bounces@lists.freepascal.org">fpc-pascal-bounces@lists.freepascal.org</a><br>[mailto:<a href="mailto:fpc-pascal-bounces@lists.freepascal.org">fpc-pascal-bounces@lists.freepascal.org</a>] On Behalf Of Jonas Maebe<br>
</div>
<div class="im">Sent: Wednesday, February 02, 2011 3:28 PM<br>To: FPC-Pascal users discussions<br>Subject: Re: [fpc-pascal] dynamic array and new/dispose<br><br><br></div>
<div class="im">On 02 Feb 2011, at 14:10, Amit Bueno wrote:<br><br>> Have you got the prof.rar?<br><br></div>No. I've just looked at the posts held for moderation and your mail is over<br>5MB. That is way too large to send to a mailing list. First of all, make<br>
sure to only include source code, not compiled units, programs or resources.<br>Secondly, if it's that big, put it online on a website and only send the<br>link to the mailing list.<br>
<div>
<div></div>
<div class="h5"><br><br>Jonas<br>_______________________________________________<br>fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br><a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</div></div></blockquote></div><br></div>