Additional
AnyDAC
SimpleIAX
Forums
Welcome, Guest
Please Login or Register to post messages. Lost Password?
Connections in Delphi
(1 viewing) 1 Guest
Go to bottom
TOPIC: Connections in Delphi
#20012
aspahn2011
Fresh Boarder
Posts: 9
graphgraph
Karma: 0
User Offline Click here to see the profile of this user
Connections in Delphi 2012/01/25 03:17 (3 Months, 3 Weeks ago)
Hi,

we use TADConnections with AnyDAC and Delphi 7. When opening a Query/Table in IDE at Design Time, the Connection is active and still is active after closing the query/table in IDE.

After compiling and starting i get a AV because the connection is still active ?! This is not a good feature Can you solve this ?

Best regards,
Logged Logged
The administrator has disabled public write access.
#20018
Support
Moderator
Posts: 4708
graph
Karma: 68
User Offline Click here to see the profile of this user
Re:Connections in Delphi 2012/01/25 05:45 (3 Months, 3 Weeks ago)
Hello

1) Could you please provide me the call stack for AV ?
2) Could you verify the data modules / forms creation order, that the form with the connection is creating first ?
3) Please provide me the environment report.
With best regards,
DA-SOFT Technologies Support Team
Logged Logged
The administrator has disabled public write access.
#20045
aspahn2011
Fresh Boarder
Posts: 9
graphgraph
Karma: 0
User Offline Click here to see the profile of this user
Re:Connections in Delphi 2012/01/27 01:08 (3 Months, 3 Weeks ago)
Hi,

i solved the problem ! In the TADConnection i left the property "MonitorBy" empty. Then the AV occurs, when the connection is active and you start the application. If it has a value e.g. "FlatFile" then the application starts normal.

Perhaps you can change this irritating behaviour in the next release

Best regards
Logged Logged
The administrator has disabled public write access.
#20049
Support
Moderator
Posts: 4708
graph
Karma: 68
User Offline Click here to see the profile of this user
Re:Connections in Delphi 2012/01/28 02:21 (3 Months, 3 Weeks ago)
Thank you for info. Still, could you please provide:
3) Environment report.
4) Optionally - test application, reproducing the issue.
With best regards,
DA-SOFT Technologies Support Team
Logged Logged
The administrator has disabled public write access.
Go to top