Subject | Re: [IBO] ib_session - invalid pointer operation |
---|---|
Author | Geoff Worboys |
Post date | 2001-01-15T14:28:32Z |
> The error reported is EInvalidPointer and the message isIn the finalisation section of IB_Components.pas you will find...
> Invalid pointer operation. It appears to occuring in
> IB_Session in the procedure FreeBlobRefList but I don't
> know how it gets there - I have stepped through and the
> control seems to just jump to this procedure without
> being called (not from where I can see anyway).
if Assigned( tmpIB_Component ) then
begin
tmpIB_Component.Free;
tmpIB_Component := nil;
end;
tmpIB_Component is a component that IBO creates to ensure that the
default IB_Session is created (in the initialisation section).
tmpIB_Component is destroyed in the finalisation and should be the
last component to be freed, resulting in the destruction of the
default IB_Session.
If you place a break-point on this code you may be able to determine
what is happening. Perhaps :-)
Check any code where you dynamically create/destroy IBO components,
particularly in form constructors/destructors or outside the main
application run loop - where you may be impacting standard VCL
processes.
Geoff Worboys
Telesis Computing