Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Finalization error 1404; 217 / 0x0eedfade
Thu, Apr 26 2007 9:57 AMPermanent Link

Michael Higgins
I still use DBISAM 2.12 with WinXP and Delphi 5. A problem has developed recently and I'm
not sure if it is my modiifcations or windows changes.

If I modify tables or even just select records then I generally get an 'error 1404 invalid
hook handle' during finalization when I run in Delphi and 'The exception unknown software
exception (0x0eedfade)' followed by 'Runtinme error 217' when I run the program on its own.

In the Data Module Destroy I have tried to get rid of everything.

 i:=0;
 endcomp:
 begin
   if (dm.Components[i] is TDBISAMTable) then
     tdbisamTable(dm.components[i]).close;
   if (dm.Components[i] is TDBISAMQuery) then
   begin
     tdbisamQuery(dm.components[i]).close;
     if  tdbisamQuery(dm.components[i]).prepared then
     tdbisamQuery(dm.components[i]).unprepare;
   end;
 end;
 inc(i);
 if i < dm.componentcount then goto endcomp;

 DBISAMSession1.RemoveAllPasswords;
 DBISAMSession1.Free;
 // terminate db database
 dbdatabase.Connected:=false;
 dbdatabase.free;
 // terminate collections database
 coll_db.Connected := false;
 coll_db.free;
 // terminate organiser database
 org_db.Connected := false;
 org_db.free;

Any ideas on how to get rid of this problem?
Fri, Apr 27 2007 7:41 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< I still use DBISAM 2.12 with WinXP and Delphi 5. A problem has developed
recently and I'm not sure if it is my modiifcations or windows changes.

If I modify tables or even just select records then I generally get an
'error 1404 invalid hook handle' during finalization when I run in Delphi
and 'The exception unknown software exception (0x0eedfade)' followed by
'Runtinme error 217' when I run the program on its own. >>

I don't think that is coming from DBISAM.  That's an error that occurs when
trying to hook a window handle, which DBISAM does not do.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image