<HTML>
<HEAD>
<TITLE>Re: [ANN] 4.7b1 MAC + WIN uploaded. New 64 bit ADKs for MAC: V4CC, VSDK, VPHP_Standalone</TITLE>
</HEAD>
<BODY>
<FONT FACE="Lucida Grande"><SPAN STYLE='font-size:11pt'>On 7/2/10 12:56 AM, "Erne" <<a href="ernestogiannotta@tiscalinet.it">ernestogiannotta@tiscalinet.it</a>> wrote:<BR>
<BR>
Hi Erne,<BR>
<FONT COLOR="#0000FF"> <BR>
> other (big) issue is with VBoolean and other numeric data types (tested only <BR>
> with VULong but I guess it happens with all)<BR>
> <BR>
> for unknown reason I get “EXC_BAD_ACCESS” when trying to set it by value more <BR>
> than once.<BR>
> <BR>
> I mean at first try it succeeds, then it fails with a crash.<BR>
</FONT><BR>
I have try reproduce, but no success so far.<BR>
<BR>
I have change SQL/Records_AddDeleteUpdate example adding this line<BR>
<BR>
<BR>
</SPAN></FONT><FONT COLOR="#B513A2"><FONT SIZE="1"><FONT FACE="Menlo Regular"><SPAN STYLE='font-size:8.5pt'>void</SPAN></FONT></FONT></FONT><FONT SIZE="1"><FONT FACE="Menlo Regular"><SPAN STYLE='font-size:8.5pt'> FillFields_UsingID( <FONT COLOR="#7033A9">VCursor</FONT>* inCursor, <FONT COLOR="#B513A2">int</FONT> i )<BR>
{<BR>
<FONT COLOR="#7033A9">Boolean</FONT> vb = (i % <FONT COLOR="#3700D7">2</FONT> == <FONT COLOR="#3700D7">0</FONT>) ? <FONT COLOR="#B513A2">YES</FONT> : <FONT COLOR="#B513A2">NO</FONT>; <BR>
[[inCursor <FONT COLOR="#3F0F80">fieldForName</FONT>: <FONT COLOR="#C92522">@"fld_Bool"</FONT>] <FONT COLOR="#3F0F80">setValue</FONT>: [<FONT COLOR="#7033A9">NSNumber</FONT> <FONT COLOR="#3F0F80">numberWithBool</FONT>:vb] ];<BR>
[[inCursor <FONT COLOR="#3F0F80">fieldForName</FONT>: <FONT COLOR="#C92522">@"fld_Bool"</FONT>] <FONT COLOR="#3F0F80">setValue</FONT>: [<FONT COLOR="#7033A9">NSNumber</FONT> <FONT COLOR="#3F0F80">numberWithBool</FONT>:vb] ];<BR>
</SPAN></FONT></FONT><FONT FACE="Lucida Grande"><SPAN STYLE='font-size:11pt'><BR>
<BR>
<BR>
Two times I do assign to bool field. <BR>
No crash.<BR>
<BR>
Or you mean some other API usage ?<BR>
<BR>
<BR>
-- <BR>
Best regards,<BR>
<BR>
Ruslan Zasukhin<BR>
VP Engineering and New Technology<BR>
Paradigma Software, Inc<BR>
<BR>
Valentina - Joining Worlds of Information <BR>
<a href="http://www.paradigmasoft.com">http://www.paradigmasoft.com</a><BR>
<BR>
[I feel the need: the need for speed]<BR>
</SPAN></FONT>
</BODY>
</HTML>