pfgpalmcomp.pas

来自「delphi编写与Palm数据交换管道连接程序。」· PAS 代码 · 共 30 行

PAS
30
字号
unit pfgPalmComp;
{**************************************************************************}
{* pfgPalmComp Unit                                                       *}
{*                                                                        *}
{* This unit defines the TpfgPalmComponent class, a generic Palm conduit  *}
{* component that combines and replaces the old TpfgConduitRegister,      *}
{* TpfgConduitConfigure, and TpfgConduitExecute components.               *}
{*                                                                        *}
{* The component provides the following facilities:                       *}
{*   - Handles registration/unregistration of the conduit via the COM     *}
{*     DLL Server registration interface.                                 *}
{*                                                                        *}
{*   - Handles both the ConfigureConduit and CfgConduit DLL methods that  *}
{*     the Palm Sync Manager uses. If ConfigureConduit is called (ie. an  *}
{*     old version of the Sync Manager is running), then a new-style      *}
{*     properties record with as many of the fields filled in as possible *}
{*     is created, for passing to the event handler.                      *}
{*                                                                        *}
{*     By providing an event handler for the component's one event, you   *}
{*     can provide code to be executed when the "Change" button is        *}
{*     clicked in the Sync Manager list of installed conduits. The event  *}
{*     is passed the configuration structure. If you wish to determine    *}
{*     whether the structure is a full one, or a old-style constructured  *}
{*     one, check the dwVersion field: it will be $FFFFFFFF for the       *}
{*     old-style.                                                         *}
{*                                                                        *}
{*   - Handles the interfacing of conduit execution, providing an         *}
{*     OnExecConduit event that a conduit's execution code can be placed. *}
{*                                                                        *}
{* Copyright 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?