Subject | RE: [IBO] TIB_Session in ISAPI DLL |
---|---|
Author | IBO Support List |
Post date | 2014-06-18T13:07:37Z |
I don't see any problems that stand out.
In what way does it blow up?
Jason
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Tuesday, June 17, 2014 8:05 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] TIB_Session in ISAPI DLL
I create all database, table and query objects in code, using the three object types below. I typically use nil as the constructor parameter.
The first time the DLL app tries to access a database it blows up on the Create statement.
What am I doing wrong?
TAS_IBODatabase = class(TIBODatabase)
private
public
constructor Create(anOwner: TComponent); override;
end;
TAS_IBOTable = class(TIBOTable)
private
public
constructor Create(anOwner: TComponent); override;
end;
&! nbsp; TAS_IBOQuery = class(TIBOQuery)
private
public
constructor Create(anOwner: TComponent); override;
end;
constructor TAS_IBODatabase.Create(anOwner: TComponent);
begin
inherited Create(anOwner);
IB_Session := WebModule2.AS_DLL_Session;
end;
constructor TAS_IBOTable.Create(anOwner: TComponent);
begin
inherited Create(anOwner);
IB_Session := WebModule2.AS_DLL_Session;
IB_Transaction := WebModule2.AS_DLL_TRANSACTION;
end;
{$ENDIF}
constructor TAS_IBOQuery.Create(anOwner: TComponent);
begin
inherited Create(anOwner);
IB_Session :! = WebModule2.AS_DLL_Session;
IB_Transaction ; := WebModule2.AS_DLL_TRANSACTION;
end;
Bjorn