I have added a call to a 4D Component which calls a method in the host DB. That 
host DB method has its "Shared by components and host database" attribute 
checked. Both component and host db are uncompiled. Both are syntax checked. 
The host method tests successfully when called by code in the host.

When the host DB method is called by an object method in the component, the 
syntax errors "The command cannot be applied between two Alphanumeric 
arguments." and "Argument types are incompatible." are generated.

The language reference explains that parameters in methods shared by components 
and host need to be pointers so I have made them pointers and declared them as 
such. The pointers reference global variables.

If, I step into the debugger via trace the arguments look good to me. They 
dereference to the text values which I expect. I don't understand the syntax 
errors.

Any idea what I may be doing wrong?

Tom Benedict
Optum
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to