Steve,
It's documented in
DEFINE CLASS Command help since VFP7.
"For the parameters and their types to appear in the type library, you must use the inline parameter syntax instead of using LPARAMETERS to declare the parameters: ex. FUNCTION Publisher_ShowPrice(Bookid As Integer, Bookprice As String)".
>In case anyone is interested, it looks like you cannot have a VFP COM object with a method signature like this:
>
>Function EventLogMsg as Void
>LParameters messageParm as String , waitState as Integer
>
>
>Because when you add the COM object reference to your Visual Studio .NET project, the IDE interprets the above as method EventLogMsg with no parameters at all.
>
>
>it must be like this:
>
>Function EventLogMsg ( messageParm as String , waitState as Integer )
>
>
>
>
>Running VFP 8.0.
--sb--