> I know I should start monitoring the .dll module reference counter, but I > don't > know how to do that within Wine. Try running with the environment variable WINEDEBUG=loader. If you need more context, you can also try WINEDEBUG=relay,tid,loader.