Subject | Sample MDI Application. |
---|---|
Author | Nam�k Tunur |
Post date | 2001-02-27T02:11:23Z |
Hi all,
Sample MDI application gives access violation. What is the reason of that ?
Thanks..
destructor TIB_Connection.Destroy;
begin
CloseTransactions;
Destroying;
try
SysDisconnect;
except
end;
while TransactionCount > 0 do
Transactions[ 0 ].SysRemoveConnection( Self );
while ConnectionLinkCount > 0 do
TIB_ConnectionLink( FConnectionLinkList.Items[ 0 ] ).IB_Connection := nil;
FParams.Free;
FParams := nil;
FUsers.Free;
FUsers := nil;
FTransactionList.Free;
FTransactionList := nil;
FActiveTransactionList.Free;
FActiveTransactionList := nil;
FStatementList.Free;
FStatementList := nil;
FDatasetList.Free;
FDatasetList := nil;
FSchemaCache.Free; --------------> Access violation here.
N.Tunur.
[Non-text portions of this message have been removed]
Sample MDI application gives access violation. What is the reason of that ?
Thanks..
destructor TIB_Connection.Destroy;
begin
CloseTransactions;
Destroying;
try
SysDisconnect;
except
end;
while TransactionCount > 0 do
Transactions[ 0 ].SysRemoveConnection( Self );
while ConnectionLinkCount > 0 do
TIB_ConnectionLink( FConnectionLinkList.Items[ 0 ] ).IB_Connection := nil;
FParams.Free;
FParams := nil;
FUsers.Free;
FUsers := nil;
FTransactionList.Free;
FTransactionList := nil;
FActiveTransactionList.Free;
FActiveTransactionList := nil;
FStatementList.Free;
FStatementList := nil;
FDatasetList.Free;
FDatasetList := nil;
FSchemaCache.Free; --------------> Access violation here.
N.Tunur.
[Non-text portions of this message have been removed]