Unload that SDS application.
This function unloads any SDS application that is currently loaded. Bricscad tells the application to clean up any allocated memory and end itself, then unloads the application and unregisters its commands.
The optional flag argument is only used when an error occurs during loading. The xunload function returns the value of this flag upon failure; when flag is missing, an error message is displayed instead.
If the application you are attempting to xunload is not currently loaded, you see a message to that effect and the request will be ignored.
Examples
Code | Returns |
---|---|
(xunload "goodapp") | Unloads the application "goodapp". |
(xunload "badapp") |
Error unloading application: Could not find badapp.dll. |
(xunload "badapp" "Uh-oh!") |
Error loading application: Could not find badapp.dll. "Uh-oh!" |
(xunload "badapp") |
Unloads the application "goodapp". Error loading application: Could not find badapp.dll |
(xunload "notloaded") |
Error loading application: Could not find notloaded.dll Application "notloaded" not loaded error: XUNLOAD failed |
(xunload "notloaded") |
*Cancel* "notloaded" |
Tell me about...
Programming Overview of LISP (LISt Processing) Language
Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |