--- ibx/trunk/fbintf/client/FBClientAPI.pas 2021/08/23 14:22:29 345 +++ ibx/trunk/fbintf/client/FBClientAPI.pas 2021/09/20 22:08:20 347 @@ -514,7 +514,9 @@ end; function TFBClientAPI.GetProcAddr(ProcName: PAnsiChar): Pointer; begin - Result := GetProcAddress(FFBLibrary.IBLibrary, ProcName); + Result := nil; + if assigned(FFBLibrary) and (FFBLibrary.IBLibrary <> NilHandle) then + Result := GetProcAddress(FFBLibrary.IBLibrary, ProcName); if not Assigned(Result) then raise Exception.CreateFmt(SFirebirdAPIFuncNotFound,[ProcName]); end;