Difference between revisions of "ISInterface:LoadExtension"

From Lavish Software Wiki
Jump to navigation Jump to search
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
== Syntax ==
 +
*bool LoadExtension(char *Filename)
 
== Purpose ==
 
== Purpose ==
 +
The LoadExtension function allows an extension to cause another to be loaded.
  
 
== Usage ==
 
== Usage ==
 
=== Parameters ===
 
=== Parameters ===
 +
* char *Filename
 +
: The filename of the extension to load.  The function will follow the Inner Space extension search order.  Relative or absolute paths are allowed.
 +
 
=== Return Value ===
 
=== Return Value ===
 +
* bool
 +
: true if the extension was successfully loaded.  The function will fail if the extension is already loaded
  
 
== Examples ==
 
== Examples ==
 +
===Load an extension===
 +
*pISInterface->LoadExtension(test2);
  
 
== See Also ==
 
== See Also ==
 +
*[[ISInterface:UnloadExtension|UnloadExtension]]
 +
*[[ISInterface:IsExtensionLoaded|IsExtensionLoaded]]
 
* [[ISXDK:ISInterface|ISInterface]]
 
* [[ISXDK:ISInterface|ISInterface]]
  
 
[[Category:ISXDK]]
 
[[Category:ISXDK]]
 
[[Category:ISInterface]]
 
[[Category:ISInterface]]

Latest revision as of 23:46, 2 September 2005

Syntax

  • bool LoadExtension(char *Filename)

Purpose

The LoadExtension function allows an extension to cause another to be loaded.

Usage

Parameters

  • char *Filename
The filename of the extension to load. The function will follow the Inner Space extension search order. Relative or absolute paths are allowed.

Return Value

  • bool
true if the extension was successfully loaded. The function will fail if the extension is already loaded

Examples

Load an extension

  • pISInterface->LoadExtension(test2);

See Also