CallAnsiPlugin plug-in

From NSIS Wiki

Author: Anders (talk, contrib)


Contents

Plugin Info

  • Version: 0.2
  • Type: Runtime plugin
  • Minimum OS: NT4
  • Minimum NSIS Version: 2.4x (Unicode)
  • License: zlib/libpng
  • Download: CallAnsiPlugin_0.2.zip (4 KB)

Description

This plugin allows you to call a ansi plugin in a unicode installer. If the ansi plugin path starts with "*", the ansi plugin will not be unloaded (/NOUNLOAD emulation)

The syntax is CallAnsiPlugin::Call <[*]pluginpath> <function> <parameter count> [parameters]

If you have problems using this plugin, report back on the talk page or the forum.


Example

InitPluginsDir ;make sure we have $pluginsdir
File "/ONAME=$pluginsdir\dumpstate.dll" "dumpstate.dll" ;you must extract the ansi plugin manually
CallAnsiPlugin::Call "$pluginsdir\dumpstate" debug 2 stack1 "stack 2"

Credits

Written by Anders (For fun and profit?)

Personal tools
donate
ads