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?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05