>>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.
>>
>
>
>It sounds like your in-process server is based on a form class with a private datasession. If this is the case, then the form is instantiating it's own DE with its own datasession just like any other form with a private datasession...
>
Ed- even a custom class specified as OLE public will not make open tables available to the calling program. And a custom class has no private datasession.
Erik Moore
Clientelligence