JVCL Help:TJvCABFile.Create

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Constructor for the object instance.


Pascal

 constructorCreate(AOwner: TComponent); override;


Parameters

Parameters Description
AOwner: TComponent Owner of the object instance.


Description

Create is the overridden constructor for the object instance.
Create allocates resources needed for the Files property, and sets to the FileName for the cabinet file to an empty string ().
Create will attempt to load the setupapi.dll needed for the Setup and Device Installer API. If setupapi.dll is not successfully loaded, Create will raise an EJVCLException exception.
Set the FileName property value to begin working with files stored in the specified cabinet file.
Resources allocated to the object instance, including the setupapi.dll, are released when the object is freed.


See Also

TJvCABFile.Destroy, TJvCABFile.FileName


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page