We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.
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?)