Don't have all the facts clear yet, but we upgraded to 2003.7 a few
weeks ago. I'm not a big Bash fan and try to avoid it (and most
wrapper calls), but if you have to call a wrapper using a pointer, it
does make life simpler.
I didn't connect it at the time, but a few week ago a 4D wrapper
call, something like "List_To_Array" broke. I made no changes to
Active4D code since we're in the middle of a major conversion, but it
broke. I band-aided it by just hard coding the the list in html/
Active4D until we figured out what the problem was - but forgot about
the band-aid.
My latest problem in trying to convert an Object Tools object to a
collection has resurfaced the problem (and reminded me of the band-
aid). After your advise, I track down the problem to calling a
wrapper where I passed the Object and a pointer to a text array. It
worked uncompiled, but would fail compiled. It appears that calling
the wrapper compiled looses the pointer type in a wrapper that calls
"OT GetAllProperties". It errors out saying that the array type does
not match. Trapping/tracing/logging points to the fact that if I send
a pointer of type "Array Text" (or 18), the wrapper, it gets it as
type 0 or 1.
I wanted to blame Bash, but I put in a test pointer and text array in
compiler_web and used that instead of the Bash calls. It still caused
the error. Wanted to go private, but lighting storms and power
outages have forced us to shut down access to my work system and
forgot your email.
What should I try next?
Steve
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/