>When I try to compile my classlib into a DLL, I get the error
>"Function argument value, type, or count is invalid."
>
>I tracked it down to the PROCEDURE statements that have type identifiers
>pointing to other classes in the library:
>
>
>
>** This errors
>PROCEDURE GetItem(cSpec AS String) AS client OF HOME()+"clientstuff.prg"
>
>
>** This works
>PROCEDURE GetItem(cSpec AS String) AS Object
>
>
>
>This only errors on PUBLIC procedures. Hidden or protected procedure
>definitions do not error.
>
>Anyone know why this errors out?
How about:
PROCEDURE GetItem(cSpec AS String) AS client OF (HOME()+"clientstuff.prg")
Not tested, so don't expect mush :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.