jAPIsystem
A set of functions related to system operations
jSYSrandom
int __fastcall jSYSrandom(int _min, int _max);
- description EN : generates a integer random value
between _min and _max
- description FR : génère une valeur entière entre _min
et _max
- author : Rémi VERNAY
(srvremi@fr.st)
jFILcreateOpenWidth
bool __fastcall jFILcreateOpenWidth(AnsiString
_source, AnsiString _extension, AnsiString _icon)
- description EN : Create links for double-click of
extension files
- description FR : crée ds liens pour accocier
double-click et extensions de fichiers
- param _source : complete path of executable file
- param _extention : the complete extension : (ex : .rtf)
- author : Rémi VERNAY
(srvremi@fr.st)
jSYSgetDesktopPath
AnsiString __fastcall jSYSgetDesktopPath();
- description EN : Get the physical directory associated
to the desktop
- return : the physical directory of the desktop
- author : JEG
jFILcreateDesktopLink
bool __fastcall jFILcreateDesktopLink(AnsiString
_obj, AnsiString _lnk, AnsiString _dsc)
- description EN : Create a link to a file on the desktop
- param _obj : the file location to be pointed by the
link
- param _lnk : the link filename
- param _dsc : the text to be displayed on the link
- author : JEG
jFILcreateLink
bool __fastcall jFILcreateLink(AnsiString _obj,
AnsiString _lnk, AnsiString _dsc)
- description EN : Create a link to a file
- param _obj : the file location to be pointed by the
link
- param _lnk : the link filename
- param _dsc : the text to be displayed on the link
- author : JEG
jFILcreateTemporaryDirectory
AnsiString __fastcall
jFILcreateTemporaryDirectory(AnsiString _name)
- description EN : Create a directory in the temp
directory and return the complete path
- description FR : crée un sous-répertoire dans le
répertoire temporaire et retourne le chemin complet
- param _name : simple name of the directory
- return : the complete path of the temp directory
created
- author : Rémi VERNAY
(srvremi@fr.st)
jFILlistSystemInfos
bool __fastcall jFILlistSystemInfos(AnsiString &
_registeredOwner, AnsiString & _registeredOrganization)
- description EN : read current informations on the
system
- description FR : retourne les informations courrantes
du système
- author : Rémi VERNAY
(srvremi@fr.st)
jFILcreateLink
bool __fastcall jEXEexecute(AnsiString _fileName,
AnsiString _params="", bool _force = true)
- description EN : Execute an external program
- param _fileName : the location of the program to
execute
- param _params: the parameters to open the external
program with
- param _force : dont use
- author : JEG