I tested what you have and it works fine here.
Pat.
>Hey all.
>
>I have a VFP DLL that has a method requiring a character parameter. I test to ensure that it has been passed with
>PROC OpenFile(cPath)
>IF PARAMETERS() < 1
> RETURN .F.
>ELSE
> RETURN .T.
>ENDIF
>ENDPROC
>
>Now I know the parameter is being sent, because if I change this code to do a TYPE check on the parameter, it works. Apparently, PARAMETERS() is always returning < 1....
>
>A search of TechNet and the MSDN site returns no KBs. Any insight anyone?
Patrick L. Stovall
Senior Architect/Developer
MCP - C#
VeroQuest
P.O.Box 7216
Kalispell, MT 59904