A DLL runs in its own environment and cannot see and affect anything in the calling application.
>I have a DLL created in VFP and calling it from another VFP APP.
>In the Dll, I open a table , use it and Close it, and it does not seem to close it in the calling program.
>This is exactly what I want, but want to make sure that , in the called DLL, it always treats the Tables as if they are in a Private data Session.
>I dont have any specific code to do that, but it does not seem to ve affecting the open files (some are the same) in ths calling APP
--sb--