Mega Search
23.2 Million


Sign Up

Make a donation  
Opening a TSQLConnection from a Delphi package  
News Group: embarcadero.public.delphi.database.dbexpress

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 ?

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 9-Apr-2014, at 10:16 AM EST
From: William Whitaker