Home GnuPG
Diffusion GpgOL 8c015ef1ed44

Move GPGME init from DLLMain to COM init

Description

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".

Details

Provenance
aheineckeAuthored on Nov 29 2023, 9:28 PM
Parents
rO65de67daf649: Post release version bump
Branches
Unknown
Tags
Unknown
References
tag: gpgol-2.5.11
Tasks
T6856: GpgOL is reported as slowing down the start of Outlook