JegasAPI - www.jegas.com

Unit ug_ipc_send_file

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

File Based Interprocess Communication

NOTE: This is the Old Way. The New Way is SIMPLY an autonumber managed as a simple one line text file - that fights contention (Record locking, multi-user use etc) with a lock file - os dependant. SHOULD work. 2006-09-29 12:45 pm Jason P Sage ——————————————————————— FileName: YYYYMMDDHHNNSSCCCRRRRRRRRRR.extension YYYY = YEAR CCC = Milli Seconds MM = Month RRRRRRRRRR = RANDOM NUMBER (31 bit range) DD = DAY HH = HOUR NN = MINUTES SS = SECONDS ———————————————————————-

The range is 0 thru 32Bit Largest Positive 32bit Integer for 32bit programs 0 thru 64bit Largest Positive 64bit Integer for 64bit programs

Uses

Overview

Functions and Procedures

Function bIPCSend( p_sa: AnsiString; Var p_sCommid: String; p_bGenerateCommID: Boolean; p_saPath: ansistring; p_sExt: String ): Boolean;
Function bIPCSendCGI( p_rCGI: rtCGI; Var p_sCommid: String; p_bGenerateCommID: Boolean; p_saPath: AnsiString; p_sExt: String ): Boolean;
Function sGetUniqueCommID(p_saPath: ansiString):String;

Variables

sIPCFileNameLessExtension: String;

Description

Functions and Procedures

Function bIPCSend( p_sa: AnsiString; Var p_sCommid: String; p_bGenerateCommID: Boolean; p_saPath: ansistring; p_sExt: String ): Boolean;

Note: p_bGenerateCommID Flag - When false, means you already have a commid

When true - a commid is generated for you, and is returned in p_sCommId on return.

Function bIPCSendCGI( p_rCGI: rtCGI; Var p_sCommid: String; p_bGenerateCommID: Boolean; p_saPath: AnsiString; p_sExt: String ): Boolean;

this version sends rtCGI

Function sGetUniqueCommID(p_saPath: ansiString):String;
 

Variables

sIPCFileNameLessExtension: String;
 
JegasAPI - www.jegas.com
Generated by PasDoc 0.14.0.