Kevin -
From my experience a DLL does not have access to the default data session. I think they added a datasession object type in VFP6--you could try passing to and/or from the DLL.
- Mark
>If I add a method to a DLL to open a table and
>return a value, the table is closed automatically
>when I come back out of the DLL, even though the
>DLL was instantiated in the same datasession.
>
>If I open the table before I go into the DLL and
>pass in the alias, I get an 'alias not found' OLE
>error from the dll.
>
>So why is the DLL closing the table or not seeing
>it at all? Whats the solution here?
----------
Mark Bucciarelli