>Hello!
>I would like to use VCX to create a DLL to pass an array or cursor back to the instanciating (calling?) program.
>
>I would like to pass the finished (entire) view or array (data set group) to the caller, but I'm thinking it needs to be done one row at a time?
>
>Is there a simple model I could use to pass the completed data group back to the caller?
>
>Thanks Terry
You can't pass a cursor. You can pass an object or a string. Which you decide to se depends on the nature of tha caller. In most cases, an ADO recordset would be perfect for this. You can download the VFPCOM utility from the MS VFP site- it has methods to convert a cursor to and from a REcordSet. But depending on what you want to do, XML might be a better choise for this- I recommend you download Rick Strahl's wwXML class from
www.west-wind.com. It has methods taht convert VFP cursors (and objects) to and from XML documents, which can be passed around as strings throug hte COM interface.
Erik Moore
Clientelligence