From WikiChip
Difference between revisions of "mirc/commands/dll"
m (Bot: de-linking old mIRC menu) |
(→Switches) |
||
Line 8: | Line 8: | ||
== Switches == | == Switches == | ||
* '''-u''' - Unload the given loaded library. | * '''-u''' - Unload the given loaded library. | ||
+ | |||
+ | '''Note''': if you pass only a filename, (for example "test.dll", instead of /folder/test.dll or c:\fullpath\test.dll), /dll -u will look into the whole list of dlls for such a filename instead of looking into the $mircdir only. | ||
== Parameters == | == Parameters == |
Revision as of 18:13, 24 February 2019
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /dll command can be used to call an exported function from DLL with the specified parameters.
Synopsis
/dll <libName.dll> <funcName> [data] /dll -u <libName.dll>
Switches
- -u - Unload the given loaded library.
Note: if you pass only a filename, (for example "test.dll", instead of /folder/test.dll or c:\fullpath\test.dll), /dll -u will look into the whole list of dlls for such a filename instead of looking into the $mircdir only.
Parameters
- <libName.dll> - The name and path of the dynamic link library (DLL) file.
- <funcName> - The name of the exported function to call
- [data] - The data to pass to that function.
Example
Look at the dll article to see how to use a dll as well as how to create them.
Compatibility
Added: mIRC v5.6
Added on: 03 Jun 1999
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also
mIRC commands list