My main application has a datamodule containing a TSQLConnection component. When I call a package 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 not start a transaction. Does anyone know the proper procedure so I don't have to create a TSQLConnection inside all packages that I'm calling from the main application?
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.