BgWorker plug-in
From NSIS Wiki
Jump to navigationJump to search
Author: Anders (talk, contrib) |
Plugin Info
- Version: 20091001 BgWorker.zip (4 KB)
- Type: Runtime plugin
- Character encoding: Ansi & Unicode (First plugin to feature both in a single DLL?)
- Minimum OS: Win95/NT4
Description
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
Credits
Written by Anders (For fun and profit?)