mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 05:10:52 +02:00
+ TComServerObject
git-svn-id: trunk@3438 -
This commit is contained in:
parent
f59e2311ec
commit
5b7ee799bb
@ -19,9 +19,29 @@ unit comobj;
|
||||
interface
|
||||
|
||||
uses
|
||||
sysutils;
|
||||
sysutils,activex;
|
||||
|
||||
type
|
||||
TComServerObject = class(TObject)
|
||||
protected
|
||||
function CountObject(Created: Boolean): Integer; virtual; abstract;
|
||||
function CountFactory(Created: Boolean): Integer; virtual; abstract;
|
||||
function GetHelpFileName: string; virtual; abstract;
|
||||
function GetServerFileName: string; virtual; abstract;
|
||||
function GetServerKey: string; virtual; abstract;
|
||||
function GetServerName: string; virtual; abstract;
|
||||
function GetStartSuspended: Boolean; virtual; abstract;
|
||||
function GetTypeLib: ITypeLib; virtual; abstract;
|
||||
procedure SetHelpFileName(const Value: string); virtual; abstract;
|
||||
public
|
||||
property HelpFileName: string read GetHelpFileName write SetHelpFileName;
|
||||
property ServerFileName: string read GetServerFileName;
|
||||
property ServerKey: string read GetServerKey;
|
||||
property ServerName: string read GetServerName;
|
||||
property TypeLib: ITypeLib read GetTypeLib;
|
||||
property StartSuspended: Boolean read GetStartSuspended;
|
||||
end;
|
||||
|
||||
EOleError = class(Exception);
|
||||
|
||||
EOleSysError = class(EOleError)
|
||||
@ -60,7 +80,7 @@ unit comobj;
|
||||
implementation
|
||||
|
||||
uses
|
||||
windows,activex;
|
||||
windows;
|
||||
|
||||
constructor EOleSysError.Create(const Msg: string; aErrorCode: HRESULT; aHelpContext: Integer);
|
||||
var
|
||||
|
Loading…
Reference in New Issue
Block a user