COMMON_API - Function Reference

Register_File ( LiveXP / NativeEx Projects Only )

Syntax

Register_File,FileName,RegType

Parameters

1

FileName

File to register

1

RegType

Type of registration to perform

Install

Register the file using the DllInstall entry point ( /i on regsvr32 )

Register

Register the file using the DllRegisterServer entry point

Remarks

This uses one of two methods to perform the registration:

Tips

If the file is to be registered at build then the file name should include path information to locate the file in the source or in the script directories.

 

If the file is to be registered at boot time then the file name should include run time path information or it should be locatable via the current path environment variable.

Example

Register_File,%SystemRoot%\system32\shell32.dll,Install


Common_Api version 8    -   11-08-2009    -   Pedro Le 15