>I’m using a third party COM server dll to extend my VFP8 application.
>One of its methods requires a structure as a parameter.
>It appears that unlike with dlls, where you can trick VFP into substituting a character string for a structure in a DECLARE statement,
>this can’t be done with a COM object method, where you can’t change the data type of a parameter within VFP, without causing an Error 11, "Function argument value, type, or count is invalid."
>
>The required data structure contains a LONG and a SHORT.
>I tried building up an integer value with both values concatenated in it, but when the value is big enough, it looks like it becomes a negative number
>to VFP, and this too causes an Error 11.
>
>Is there a way to do this?
There are a couple of downloads here that might help:
API-Structures in VFP File #
9557struct.zip File #
9267
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up