Shared Database Session

Question:
Is there a way to share a database session between calling application and DLL? Not having such a sharing (DLL with DataSet components) increases the number of SQL server clients.

Answer:
You could try instantiating the Session from within the DLL and then create a function that returns a TSession type that you can assign to your local dataset.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: