You cannot pass a VFP native cursor to a COM, you might consider passing an ADO recordset.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfoxgen/html/adojump.asp>Hi !!!
>
>I'm facing a problem while using a VFP Cursor in VFP DLL.
>
>We have developed a DLL in VFP to generating reports in EXCEL. In this DLL we are passing a cursor/table for generating reports. This DLL is working well when we are passing the "table" but the same was not supporting the cursor.
>
>Second, it will supporting cursor when we are using the same programe with the classes.
>
>Can anybody have an idea to using cursors in the DLL.
>
>Thanks in Advance
>Ravi Mehrotra