From VFP help for DEFINE CLASS:
"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)".
>I have a project with one program in it.
>That program defines an OLEPUBLIC class:
>DEFINE CLASS PostFolio AS SESSION OLEPUBLIC
> PROCEDURE INIT
> …
> ENDPROC
>
> PROCEDURE mTest
> LPARAMETERS tcFirstParm
> …
> ENDPROC
>
>ENDDEFINE
>I am compiling that project into mtdll.
>
>When I add a reference to that component to VB6 project it does not show that
>mTest has any parameters. Why is that?
--sb--