On 4/15/06, Aparajita Fishman <[EMAIL PROTECTED]> wrote:
> > OT_ARRAY_PUT($object;"StructureEntities";->getArray)
> >
> > Error: Unable to convert this pointer to a compiled pointer
> >
> > This code works fine in interpreted.
>
> I looked at my code and the main reason you get that error is if
> getArray does not exist.
>

It is 2004.3 with A4D 4rc6

getArray does exist, unless you mean that the variable itself is not
declared in 4D.

As Brad and Randy showed me, whenever sending a pointer to a variable
into a compiled 4D database, the variable must have already been
declared by 4D, not just by A4D.  So in our 4D code, we created the
getArray variable, compiled it, then the A4D code works.

Their assertion is correct, right?  That in order to use a pointer to
a variable in A4D code with a compiled database, that variable must be
declared in 4D _before_ compiling?

Thanks,

Michael Check
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to