Opening a TSQLConnection from a Delphi package |
|
My main application has a datamodule containing a TSQLConnection component. When I call a package (dynamically) from this application and try to create a transaction (StartTransaction(TD)) from within the .bpl, I receive an Access Violation. I am able to open a TSQLQuery from within the bpl to that same TSQLConnection, but am unable to start a transaction. Does anyone know the proper procedure so I don't have to create a separate TSQLConnection inside any packages that I'm loading from the main applicatio
n ?
|