Bill,
Are you building a COM DLL (using createobject) or an API style DLL (using declare dll)? COM handles everything with VARIANT type parameters. API allows direct function calls to the VC++ methods using specific types of parameters. If you are doing COM the article on using VFP COM from VC++ on
www.west-wind.com would be a good thing to read.
>I have also posted a more thorough statement of my problem in the thread "ATL COM DLL parameter passing", Thread #
357041. The main difficulty seems to be in the parameter types allowed for passing across COM interfaces. This is an area I don't understand well. My first message in the thread gives the details. I am missing something in this regard.