Working with ClientDataSets
Last Updated: 7/28/2005
|Sections above here:|
Home » Development
Sections below here:
Topics in this section:
This chapter refers only to IntraWeb for Delphi.
If you are using a ClientDataSet component and you get an Access Violation when exiting the application, you need to add the DBClient unit in the application uses clause before IWMain.
The reason for the access violation is that if DBClient is not included in project file uses clause, it's internal interfaces are freed before all sessions are closed and when IW closes it's sessions it will try to free ClientDataSet component, and you will get the access violation.
When DBClient is placed before IWMain IW will free sessions before DBClient
interfaces are freed.
(C) 2002-2009 - Atozed Software Ltd.