TDBLookupComboBox is causing AV in D4

delphi package - automated exception handling
Post Reply
bexar
Posts: 2
Joined: Thu Mar 17, 2016 7:01 pm

TDBLookupComboBox is causing AV in D4

Post by bexar »

I just installed MadExcept with Delphi 4, and my sample program with a DBLookupComboBox comes up with an AV every time I close the program. You can duplicate it very easily by creating a new VCL program and dropping a DBLookupComboBox on it. Compile/run the program, and then close it. Access Violation. Aside from the obvious solution to upgrade to a version of Delphi from this decade, is there a cheaper way to fix the AV that MadExcept is finding?
bexar
Posts: 2
Joined: Thu Mar 17, 2016 7:01 pm

Re: TDBLookupComboBox is causing AV in D4

Post by bexar »

I traced it to TDBLookupControl.Destroy in dbctrls.pas, and was able to fix the code myself. Works fine now. Thanks.
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: TDBLookupComboBox is causing AV in D4

Post by madshi »

So it was a bug in the VCL?
Post Reply