Skip to content
⌘ NSIS Forum Archive

Plugin Calls to Script Functions

2 posts

brainsucker#

Plugin Calls to Script Functions

I'd like to propose to export ExecuteCodeSegment from exe-head. That will give the plugins another chance to call script functions, so the callbacks and other features could be implemented. I understand how many time you've spend optimizing exehead for size 😉 , but if you'll export it as ordinal it will take very small place...

Actually I've already done it, and fixed the system plugin to use it..
Works fine, with the except for the "Skipped: system.dll" string appearing at the log whenever the call to system occurs from callback function (something must be done with EW_EXTRACTFILE or plugin::call to code translation).

.def I've used:

EXPORTS
ExecuteCodeSegment @1 NONAME 
So, should I post updated system? 😉
kichik#
Took a look at the TODO list lately?

* more powerful plug-ins (access to ExecFunc and flags and even more)
😉