ADODataset in dll and ShareMem
Posted on 2003-02-25
First of all, is it possible to declare function of type TDataSet with stdcall
If it is, should I include ShareMem in my dll?
Or there is a better way to do this?
What I want to do is to separate data access from the rest of my application, because database might be Access, SQL Server or Firebird. They all have slightly different SQL syntax.
But I still want to get TDataSet or TADODataSet from the data access layer because I want to be able to do further processing with it before binding to a grid.
I know I can do that by writing an additional class that will be in exe, but I am considering dll for some reasons.