CallAnsiPlugin plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with '{{PageAuthor|Anders}} Category:Plugins == Description == This plugin allows you to call a ansi plugin in a unicode installer. If the ansi plugin path starts with "*", the a…')
 
(No difference)

Revision as of 22:00, 28 August 2009

Author: Anders (talk, contrib)


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.


Download

v0.1

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?)