Move GPGME init from DLLMain to COM init
* NEWS: Update. * src/common.cpp (get_gpgme_w32_inst_dir): Move here from main.c (set_global_hinstance): Removed for readability. * src/common.h: Update accordingly. * src/main.c (get_gpgme_w32_inst_dir): Move to common.cpp (DllMain): Remove all initialization code. * src/gpgoladdin.cpp (GpgolAddin::GpgolAddin): Do the GPGME initalization here.
This does not functionally change anything but should probably
fix the "This addin caused a slow start of Outlook message".
- GnuPG-Bug-Id: T6856