>OK, here's the really, really odd thing. If I instance the DLL from VB, it works. From VFP, it doesn't. Oh well, switched over to PCOUNT() and it works everywhere then, so I guess I'll just fuggedaboudit.
Installed SP4 yet? I've got it installed used the following, and after registering it, seems to work fine with VFP
DEFINE CLASS Foo AS CUSTOM OLEPUBLIC
cResult = ""
PROCEDURE FooMethod(cFoo)
IF PARAMETERS() < 1
This.cResult = "No Parameters passed"
ELSE
This.cResult = "Parameters passed - " + TRANSFORM(PCOUNT())
ENDIF
ENDPROC
ENDDEFINE
George
Ubi caritas et amor, deus ibi est