vuSelfDelete()
vuSelfDelete(), Long
Description
Schedules the applications executable file to be automatically deleted after the program terminates. Your application must exit immediately after calling this function.
Parameters
| Parameter |
Data Type |
Description |
| None |
|
This function takes no parameters. |
Returns
A LONG value:
Example
! Schedule program for self-deletion
vuSelfDelete()
! Application must terminate immediately after this call
RETURN
Notes
- This function enters a tight loop waiting for the process to terminate before deleting the executable file.
- Use with caution, as improper usage can leave the file locked and undeleted.