BgWorker plug-in

From NSIS Wiki

Author: Anders (talk, contrib)

Plugin Info

  • Version: 20091001 (4 KB)
  • Type: Runtime plugin
  • Character encoding: Ansi & Unicode (First plugin to feature both in a single DLL?)
  • Minimum OS: Win95/NT4


This plugin calls the address stored in $0 in a low priority background thread, the "main" thread will process window messages while waiting for the worker thread. Note that some internal functions and 3rd party components might not work in a separate thread!

Usage Example

GetFunctionAddress $0 workerfunc
BgWorker::CallAndWait ;Calls address stored in $0 in a background thread


Written by Anders (For fun and profit?)

Personal tools