Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUILD DLL Error
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01200428
Message ID:
01200432
Views:
27
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform