On Aug 24, 2005, at 9:56 AM, Aparajita Fishman wrote:
Works like a charm -- uncompiled. Compiled either of the wrapper
calls:
$numTags:=OT_ItemTags($object;$pTag_at) (calls OT
GetAllProperties with tag array and return size of array
$numTags := OT_ItemCount_Get($object) (calls OT ItemCount
with just object)
returns 65535 as the number of tags and there are 13 tags. That
causes an index out of range error.
The wrapper routines work fine from 4D, I'd include it but they are
pretty standard.
Any idea on what could be causing the problem. Sorry for posting on
the A4D list, but that's all I'm subscribed to.
Running OT 2.0.1 of Object tools, latest A4D, MacOSX
It would help if I knew what version of 4D.
7.0.7 (2003.7) on MacOSX
A little more info. My test was running on our development server,
which we put a little hook in A4D_inithook to start A4D on the server
if development, else on client (had a web server license that was going
to waste after we moved to the client). Our production environment is
running A4D on a client.
When I tested the routine on the production environment, 4D on the
client brought up a blank alert dialog. I did find the ok button and
A4D returned a
Server Error
An error occurred while processing the request, please try again.
That leads me to believe one of the wrapper routines does not recognize
the object or has a type mismatch, so I'm trying to dig through the
routines. I'm an OT novice, but I guess the difference between the
dialog and 65535, was that OT SetErrorHandler was not set on server
startup, just on startup.
Digging thru the code.
Steve Alex
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/