4D v11 and ObjectTools tip
Jeffrey Kain (7/15/08 2:27PM)
John DeSoi (7/16/08 1:41AM)
Jeffrey Kain (7/15/08 2:27 PM)
<EB8EBE254C16534D9BC41A91DAECF878042866E1@...
I think plug-ins have to be modified in order to recognize pointers to
locals. Are you using the latest version of OT? I haven't tried
myself...
Jeff
-----Original Message-----
From: John DeSoi
Sent: Tuesday, July 15, 2008 2:17 PM
Hi Jeff,
On Jul 15, 2008, at 1:43 PM, Jeffrey Kain wrote:
C_POINTER($ptr)
$ptr:=$1
OT PutArray ($obj; $tag; $ptr->)
This looks to me like it's a bug in 4D, since the same version of
ObjectTools works fine using a dereferenced pointer parameter in all
the
older versions of 4D. It's an easy workaround, so hopefully this saves
someone out there some time...
Does this work in 11.2 with local arrays? Just curious because I found
in 2004.7r3 I can't pass a local array pointer to a method where a
plugin call modifies the array. I thought it was a 4D issue but maybe
it is a problem with the plugin.
John DeSoi (7/16/08 1:41 AM)
On Jul 15, 2008, at 2:27 PM, Jeffrey Kain wrote:
I think plug-ins have to be modified in order to recognize pointers to
locals. Are you using the latest version of OT? I haven't tried
myself...
This is with Pluggers PostgreSQL plugin (1.3, 4D 2004.7r3 Mac).
PgSQL Column To Array ($rows;"";$col;$a->)
Works for process arrays but not local arrays (tested text arrays).
I just tested this with 11.2 and it does work with local arrays (same
plugin version).
John
Reply to this message
Summary created 7/16/08 at 12:48AM by Intellex Corporation
Comments welcome at: feedback@intellexcorp.com