home *** CD-ROM | disk | FTP | other *** search
- unit Unit2;
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
- ComServ, ComObj, VCLCom, StdVcl, BdeProv, DataBkr, DBClient, Project1_TLB,
- DBTables, Db;
-
- type
- Tnueva = class(TRemoteDataModule, Inueva)
- Table1: TTable;
- Database1: TDatabase;
- Session1: TSession;
- private
- { Private declarations }
- public
- { Public declarations }
- protected
- function Get_Table1: IProvider; safecall;
- end;
-
- var
- nueva: Tnueva;
-
- implementation
-
- {$R *.DFM}
-
- function Tnueva.Get_Table1: IProvider;
- begin
- Result := Table1.Provider;
- end;
-
- initialization
- TComponentFactory.Create(ComServer, Tnueva,
- Class_nueva, ciMultiInstance, tmApartment);
- end.
-