[Gpg4win-users-en] GPGOL not started in latest Outlook 365 on Windows 1809

Andre Heinecke aheinecke at gnupg.org
Tue Nov 12 10:05:54 CET 2019


On Tuesday 12 November 2019 09:52:03 CET Johannes Kastl wrote:
> Am 28.10.19 um 10:36 schrieb Andre Heinecke:
> I reinstalled GPGoL multiple times, and after the fourth try (each followed 
by a
> reboot) it worked suddenly...

It's a bit of a stupid bug that is suprisingly hard to fix because it hits a 
Windows limitation on how you can move files after a reboot.

My real fix for this is to enable a "Hot Swap" upgrade that works for GpgOL and 
GpgEX that unloads the DLL's and replaces them even while Outlook is running.
But that is also some work and I did not get around to it yet.

If someone want's to implement it: The trick will be to send a Windomessage to 
GpgOL causing it to unload.
For GpgEX to install a Window Handler that causes it to responde true in 
"DLLCanUnloadNow" and trigger "CoFreeUnusedLibraries" trough a windomessage to 
the windows explorer.
And send these messages in the installer. Patches Welcome :-).

Once we have that we can remove the out of time requirement to sometimes 
restart Windows after updating Gpg4win. Most users don't do that anymore in my 
experience and as such "State issues" when installing Gpg4win multiple times 
between updates become more relevant.

Best Regards,

GnuPG.com - a brand of g10 Code, the GnuPG experts.

g10 Code GmbH, Erkrath/Germany, AG Wuppertal HRB14459
GF Werner Koch, USt-Id DE215605608, www.g10code.com.

GnuPG e.V., Rochusstr. 44, D-40479 Düsseldorf.  VR 11482 Düsseldorf
Vorstand: W.Koch, M.Gollowitzer, A.Heinecke.    Mail: board at gnupg.org
Finanzamt D-Altstadt, St-Nr: 103/5923/1779.   Tel: +49-2104-4938799
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.wald.intevation.org/pipermail/gpg4win-users-en/attachments/20191112/cef6409f/attachment.sig>

More information about the Gpg4win-users-en mailing list