亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? pfgpalmsyncerror.pas

?? delphi編寫與Palm數(shù)據(jù)交換管道連接程序。
?? PAS
字號:
{$WEAKPACKAGEUNIT ON}
unit pfgPalmSyncError;
{**************************************************************************}
{* pfgPalmSyncError Unit                                                  *}
{*                                                                        *}
{* This unit implements handling of errors that occur in the library.     *}
{*                                                                        *}
{* Copyright (C) 2000 - 2002 by Paul Gilbert, All Rights Reserved         *}
{**************************************************************************}

interface

uses SysUtils;

type
  EPalmSyncError = class(Exception)
  private
    FError: Integer;
  public
    constructor CreateErr(const AError: Integer);
    constructor CreateErrMsg(const AError: Integer; const Msg: string);
    property Error: Integer read FError write FError;
  end;

  // Added by Mert //
  EUserManagerError = class(Exception)
  private
    FError: Integer;
  public
    constructor CreateErr(const AError: Integer);
    constructor CreateErrMsg(const AError: Integer; const Msg: string);
    property Error: Integer read FError write FError;
  end;
  // End of Mert //

procedure PalmCheck(const doing: string; Error: Integer); overload;
procedure PalmCheck(Error: Integer); overload;
procedure PalmError(Error: Integer);

// Utility functions
function TranslatePalmError(const PalmError: integer): string;
function IsDirty(const Flags: integer): boolean;
function IsDeleted(const Flags: integer): boolean;

// Added by Mert //
function TranslateUserManagerErrors(const PalmError: integer): string;
procedure UserManagerCheck(Error: Integer);
// End Of Mert //

implementation

uses
  pfgCondMgre,
  pfgCondAPI,
  pfgSyncMgr,
  pfgWTypes,
  pfgHslog,
  pfgUserData,
  pfgPalmInstall;

function IsDirty(const Flags: integer): boolean;
begin
  result := (Flags and eRecAttrDirty) <> 0;
end;

function IsDeleted(const Flags: integer): boolean;
begin
  result := (Flags and eRecAttrDeleted) <> 0;
end;

// PalmError
// Raises the Palm sync exception with the given Sync error

procedure PalmError(Error: Integer);
begin
  raise EPalmSyncError.CreateErr(Error);
end;

procedure PalmCheck(const doing: string; Error: Integer); overload;
begin
  if Error <> SYNCERR_NONE then
    raise EPalmSyncError.CreateErrMsg(Error, doing);
end;

procedure PalmCheck(Error: Integer); overload;
begin
  if Error <> SYNCERR_NONE then
    raise EPalmSyncError.CreateErr(Error);
end;

{ EPalmSyncError }

constructor EPalmSyncError.CreateErr(const AError: Integer);
begin
  inherited CreateFmt('Error %d :%s', [AError, TranslatePalmError(AError)]);
  FError := AError;
end;

constructor EPalmSyncError.CreateErrMsg(const AError: Integer;
  const Msg: string);
begin
  inherited CreateFmt('Error %d,:%s at %s', [AError, TranslatePalmError(AError), Msg]);
  FError := AError;
end;


function TranslatePalmError(const PalmError: integer): string;
begin
  case PalmError of
    -1: Result := 'A nonspecific error.';
    CONDERR_ADD_LOCAL_RECORD: Result := 'Could not add a record to the desktop computer tables.';
    CONDERR_ADD_REMOTE_RECORD: Result := 'Could not add a record on the handheld.';
    CONDERR_BAD_LOCAL_BACKUP: Result := 'The backup table could not be read on the desktop computer.';
    CONDERR_BAD_LOCAL_TABLES: Result := 'The tables could not be read on the desktop computer.';
    CONDERR_BAD_REMOTE_TABLES: Result := 'The tables could not be read from the handheld.';
    CONDERR_BAD_SYNC_TYPE: Result := 'The specified synchronization type is not valid.';
    CONDERR_BUFFER_TOO_SMALL: Result := 'The buffer is too small to contain the data.';
    CONDERR_CHANGE_REMOTE_RECORD: Result := 'Could not change a record on the handheld.';
    CONDERR_CONDUIT_RESOURCE_FAILURE: Result := 'Could not read a resource from your conduit'' s DLL.';
    CONDERR_CONVERT_FROM_REMOTE_REC: Result := 'Could not convert a handheld record to a record on the desktop computer.';
    CONDERR_CONVERT_TO_LOCAL_CATS: Result := 'Could not convert a record'' s category to a category on the desktop computer.';
    CONDERR_CONVERT_TO_REMOTE_CATS: Result := 'Could not convert a record'' s category to a category on the handheld.';
    CONDERR_CONVERT_TO_REMOTE_REC: Result := 'Could not convert a desktop computer record to a record on the handheld.';
    CONDERR_DATE_MOVED: Result := 'Dates before 1970 were moved to a valid date.';
    CONDERR_INVALID_ARGSSIZE: Result := 'The argument size is not valid.';
    CONDERR_INVALID_ARGSSIZE_PTR: Result := 'The output arguments size is not valid.';
    CONDERR_INVALID_BUFFER_SIZE: Result := 'The buffer size is not valid for the buffer.';
    CONDERR_INVALID_INARGS_PTR: Result := 'The input arguments pointer is not valid.';
    CONDERR_INVALID_INARGS_STRUCT: Result := 'The input arguments structure is not valid.';
    CONDERR_INVALID_OUTSIZE_PTR: Result := 'The output size pointer is not valid.';
    CONDERR_INVALID_PTR: Result := 'A pointer is not valid.';
    CONDERR_LOCAL_MEMORY_ALLOC_FAILED: Result := 'Could not allocate memory on the desktop computer.';
    CONDERR_NO_LOCAL_CATEGORIES: Result := 'There are no categories defined on the desktop computer.';
    CONDERR_NO_REMOTE_CATEGORIES: Result := 'There are no categories defined on the handheld.';
    CONDERR_NONE: Result := 'The function call was successful.';
//      CONDERR_NONE: Result := 'Success';
    CONDERR_RAW_RECORD_ALLOCATE: Result := 'Could not allocate memory for a record.';
    CONDERR_REMOTE_CHANGES_NOT_SENT: Result := 'The changes were not successfully sent to the handheld.';
    CONDERR_REMOTE_RECS_NOT_PURGED: Result := 'The records on the handheld could not be successfully purged.';
    CONDERR_SAVE_REMOTE_CATEGORIES: Result := 'The categories could not be saved on the handheld.';
    CONDERR_SUBSCRIBE_FAILED: Result := 'The file link failed.';
    CONDERR_UNSUPPORTED_CFGCONDUIT_ENUM: Result := 'The specified CfgConduit enumeration value is not supported.';
    CONDERR_UNSUPPORTED_STRUCT_VERSION: Result := 'The version number of the structure is not supported on the handheld.';

//      DERR_ALL_KEYS_EQUAL: Result := 'The sort was successful, but all of the keys are equal.';
//      DERR_BAD_SCHEMA: Result := 'The schema object is not valid.';
//      DERR_BAD_TABLE: Result := 'The table is not valid.';
//      DERR_FILE_NOT_FOUND: Result := 'The specified file could not be opened.';
//      DERR_FILE_NOT_SAVE: Result := 'The file was not able to be written.';
//      DERR_INVALID_FILE_FORMAT: Result := 'The file could not be read.';
//      DERR_INVALID_KEY_SORT: Result := 'The specified sorting key is not valid.';
//      DERR_NO_CURRENT_FILENAME: Result := 'The m_TableName field does not contain a file name for the Save method to use.';
//      DERR_NONE: Result := 'The function call was successful.';
//      DERR_RECORD_NOT_POSITIONED: Result := 'Unable to locate record in table.';
//      ERR_NONE: Result := 'The function call was successful.';

    ERR_BUFFER_TOO_SMALL: Result := 'The buffer is too small to hold the requested information.';
    ERR_CONDUIT_MGR: Result := 'An otherwise nonspecific Conduit Manager error occurred.';
    ERR_CREATORID_ALREADY_IN_USE: Result := 'The creator ID that you specified to use as a new creator ID in the configuration entries is already in use.';
//      ERR_IA_INVALID_FILE_TYPE: Result := 'The PltGetFileCount function does not recognize the extension type.';
    ERR_INDEX_OUT_OF_RANGE: Result := 'The specified index value is out of range.';
    ERR_INVALID_COM_PORT_TYPE: Result := 'The specified communications port type is not valid. You must use one of the Conduit Communications Port Constants.';
    ERR_INVALID_CONDUIT_TYPE: Result := 'The specified conduit type is not valid. You must use one of the Conduit Information Type Constants.';
    ERR_INVALID_CREATOR_ID: Result := 'The specified conduit creator ID is not valid.';
    ERR_INVALID_HANDLE: Result := 'The specified structure handle is not valid.';
    ERR_INVALID_POINTER: Result := 'The specified pointer is not a valid pointer.';
    ERR_NO_CONDUIT: Result := 'The specified conduit does not exist.';
    ERR_NO_LONGER_SUPPORTED: Result := 'The value or feature that you specified is no longer supported.';
    ERR_NO_MEMORY: Result := 'Not enough memory to perform the requested operation.';
//      ERR_NONE: Result := 'The function call was successful.';


 (* Install Aide Error Codes  *)
 (* Removed slashes by Mert *)

      ERR_PILOT_BUFSIZE_TOO_SMALL: Result := 'The buffer supplied as a parameter to a function is too small to contain the information that the function attempted to store.';
      ERR_PILOT_COPY_FAILED: Result := 'The PltInstallFile function could not copy the file.';
      ERR_PILOT_FILE_ALREADY_EXISTS: Result := 'An attempt was made to install a file that is already installed in the user'' s install directory.';
      ERR_PILOT_INVALID_BUFFER: Result := 'A buffer parameter is NULL.';
      ERR_PILOT_INVALID_FILE_INDEX: Result := 'The value of the index parameter passed to the PltGetFileName function is greater than the number of files.';
      ERR_PILOT_INVALID_FILE_TYPE: Result := 'A file parameter is not a valid file type for use with the function.';
      ERR_PILOT_INVALID_FILENAME: Result := 'The file name parameter value in a call to the PltInstallFile function is NULL.';
      ERR_PILOT_INVALID_INDEX: Result := 'An index parameter exceeds the maximum value allowed for the index.';
      ERR_PILOT_INVALID_PATH: Result := 'The path parameter passed to the PltSetPath function is NULL.';
      ERR_PILOT_INVALID_PATH_TYPE: Result := 'The path type parameter value is not a valid path type value. For information about the path type constants, see Path Type Constants.';
      ERR_PILOT_INVALID_REGISTRY: Result := 'The requested path information is not stored in the Palm configuration entries. The Palm Desktop installation program should be run to correct this problem.';
      ERR_PILOT_INVALID_SOURCE_FILE: Result := 'A file passed to the install function is not a valid file.';
      ERR_PILOT_INVALID_USER: Result := 'The user name parameter value is either NULL or is not a valid user name.';
      ERR_PILOT_INVALID_USER_INDEX: Result := 'The value of the index parameter sent to the PltGetUser function is greater than the number of users.';
      ERR_PILOT_NO_USERS: Result := 'The users data file does not contain any user information.';
      ERR_PILOT_NO_USERSDAT_FILE: Result := 'There is no users data file specified in the Palm configuration entries.';
      ERR_PILOT_NO_DIRECTORY : Result := 'No directory was found for the specified user.';
      ERR_PILOT_NO_USER_FILE : Result := 'No users data file found.';
      ERR_PILOT_NOT_FOUND: Result := 'The specified user name could not be found in the database.';
      ERR_PILOT_BAD_FILENAME : Result := 'The specified file name is invalid.';
      ERR_PILOT_USER_ACCESS : Result := 'The Install Aide cannot access the user data.';
 //////////////// end of Mert ///////////////////////////////////


      ERR_REGISTRY_ACCESS: Result := 'Unable to access the configuration entries.';

    ERR_UNABLE_TO_CREATE_CONDUIT: Result := 'The conduit could not be installed.';
    ERR_UNABLE_TO_DELETE: Result := 'The configuration entries for the specified conduit could not be deleted.';
    ERR_UNABLE_TO_SET_CONDUIT_VALUE: Result := 'The specified conduit configuration entry value could not be set.';
    ERR_VALUE_NOT_FOUND: Result := 'The specified value could not be found in the configuration entries for the conduit.';

//      ERROR_HSAPI_FAILURE: Result := 'The API cannot communicate with the HotSync

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区四区亚洲| 免费成人深夜小野草| 国产精品久久久久影视| 久久综合久久综合久久| 日韩精品一区二区三区四区视频| 337p亚洲精品色噜噜狠狠| 欧美另类z0zxhd电影| 欧美日韩精品欧美日韩精品| 欧美日韩一区二区三区四区五区| 日本精品视频一区二区三区| 91福利国产成人精品照片| 一本色道久久综合亚洲精品按摩| 色久综合一二码| 欧美日韩在线播| 欧美日韩国产经典色站一区二区三区| 777亚洲妇女| 精品国产电影一区二区| 国产日韩欧美精品一区| 欧美激情一区二区| 亚洲同性同志一二三专区| 尤物av一区二区| 午夜成人免费电影| 美女久久久精品| 国产一区二区成人久久免费影院| 国产69精品久久久久毛片| 成人精品亚洲人成在线| 色偷偷久久一区二区三区| 欧美日韩在线免费视频| 欧美成人一区二区三区| 国产精品视频看| 亚洲国产综合91精品麻豆| 免费成人在线观看| 国产.欧美.日韩| 91国偷自产一区二区三区观看| 欧美无乱码久久久免费午夜一区| 日韩三级.com| 国产精品欧美一区喷水| 亚洲一区二区美女| 国产剧情av麻豆香蕉精品| 99久久综合国产精品| 欧美日韩国产综合一区二区| 久久久久久电影| 亚洲精品亚洲人成人网在线播放| 婷婷六月综合网| 国产成人aaa| 欧美色国产精品| 久久久99精品免费观看不卡| 一区二区三区日韩精品视频| 蜜臀av性久久久久蜜臀aⅴ | 久久精品国产在热久久| 国产福利一区二区三区视频| 欧洲另类一二三四区| 精品久久五月天| 亚洲一区视频在线| 久久国产精品无码网站| 国产美女娇喘av呻吟久久| 国产欧美一区二区精品久导航| 尤物av一区二区| 狠狠网亚洲精品| 91碰在线视频| 欧美xxxx在线观看| 亚洲国产欧美在线| aaa欧美大片| 3d动漫精品啪啪一区二区竹菊| 欧美丝袜自拍制服另类| 久久久综合精品| 舔着乳尖日韩一区| 波多野结衣视频一区| 日韩色视频在线观看| 一区二区三区精品在线观看| 国产精品996| 7777精品伊人久久久大香线蕉| 中文字幕精品—区二区四季| 秋霞成人午夜伦在线观看| 99热99精品| 日本一区二区成人| 久久99热这里只有精品| 精品视频一区二区三区免费| 国产精品久久看| 久久精品999| 欧美精品粉嫩高潮一区二区| 亚洲视频图片小说| 国产成人免费视频一区| 精品成人免费观看| 亚洲一区在线观看视频| 9久草视频在线视频精品| 久久蜜臀精品av| 精品一区二区三区香蕉蜜桃| 欧美精品久久天天躁| 亚洲一区成人在线| 色婷婷av一区二区三区gif| 中文字幕中文字幕一区| 国产高清成人在线| 久久久综合九色合综国产精品| 蜜臀av一区二区在线观看| 在线电影院国产精品| 亚洲va中文字幕| 欧美日韩高清一区二区| 亚洲国产日韩综合久久精品| 91电影在线观看| 亚洲国产日韩一级| 欧美另类久久久品| 日本 国产 欧美色综合| 欧美一区二区三区免费在线看| 天天综合网天天综合色| 欧美一区午夜视频在线观看| 日韩成人午夜电影| 日韩欧美激情一区| 激情六月婷婷久久| 久久久久9999亚洲精品| 国产成人免费视频网站| 国产精品人成在线观看免费| hitomi一区二区三区精品| 国产精品另类一区| 91在线视频18| 亚洲已满18点击进入久久| 欧美日韩精品一区二区三区四区| 婷婷开心久久网| 欧美一区二区三区视频在线观看| 日日夜夜一区二区| 精品久久国产老人久久综合| 国产在线精品一区二区夜色| 久久精品日产第一区二区三区高清版| 国产+成+人+亚洲欧洲自线| 亚洲三级视频在线观看| 色呦呦日韩精品| 午夜精品福利在线| 精品国产1区2区3区| 国产成人一区在线| 亚洲青青青在线视频| 欧美日韩精品一区二区三区蜜桃| 久久疯狂做爰流白浆xx| 国产欧美一区二区精品性色超碰| 91视视频在线观看入口直接观看www| 亚洲国产综合色| 精品国产污污免费网站入口 | 日本一道高清亚洲日美韩| 精品捆绑美女sm三区| 成人国产视频在线观看| 亚洲国产精品尤物yw在线观看| 日韩一区二区三区四区| 菠萝蜜视频在线观看一区| 亚洲国产一区二区三区| 久久综合九色综合欧美就去吻| av亚洲产国偷v产偷v自拍| 亚洲国产成人高清精品| 精品国产一区a| 欧美亚洲禁片免费| 精品系列免费在线观看| 亚洲日本一区二区三区| 欧美一二三在线| 99精品偷自拍| 日韩中文字幕麻豆| 国产午夜精品久久| 欧美男女性生活在线直播观看| 国产在线精品不卡| 亚洲一区在线视频| 欧美国产日韩亚洲一区| 欧美高清视频不卡网| 国产精品一线二线三线精华| 亚洲电影一区二区三区| 国产日本欧洲亚洲| 91精品国产一区二区三区 | 国产日韩欧美在线一区| 欧美在线看片a免费观看| 国产在线精品国自产拍免费| 五月开心婷婷久久| 国产精品福利影院| 欧美大片在线观看一区二区| 欧美性色黄大片手机版| 成人sese在线| 国产在线不卡一区| 蜜臀av性久久久久蜜臀av麻豆 | 国产一区 二区| 午夜视频在线观看一区| 国产精品家庭影院| 精品国产麻豆免费人成网站| 欧美亚洲综合另类| 色综合色狠狠天天综合色| 国产呦精品一区二区三区网站| 日韩和的一区二区| 夜夜嗨av一区二区三区网页| 国产农村妇女毛片精品久久麻豆 | 亚洲人午夜精品天堂一二香蕉| 日韩免费观看高清完整版| 91国内精品野花午夜精品| 成人app下载| 国产91精品欧美| 国产精品18久久久久久久久久久久| 天天色天天操综合| 尤物视频一区二区| 综合电影一区二区三区 | 日本网站在线观看一区二区三区| 亚洲精品一二三| 亚洲天堂av一区| 国产精品久久久久久久久图文区 | 久久机这里只有精品| 午夜精品福利一区二区三区av| 亚洲综合丁香婷婷六月香| 亚洲精品国产高清久久伦理二区|