We've been following the following bug reports about using GDI+ in Libraries. Your resolution is to call dxInitializeGDIPlus after LoadLibrary and dxFinalizeGDIPlus before calling FreeLibrary. This works fine for standard libraries, but what is your proposed solution for Com Libraries? With a Com library they are not explicitly loaded and unloaded. So if you run RegSvr32 on them they will hang unless you put the dxFinalizeGDIPlus call "some place." Where is the best place to place these calls in a Com DLL?
I have attached our solution, but wanted to run it by you to see if there are any issues with it.
https://www.devexpress.com/Support/Center/ViewIssue.aspx?issueid=CB43806
https://www.devexpress.com/Support/Center/ViewIssue.aspx?issueid=AB12996
https://www.devexpress.com/Support/Center/ViewIssue.aspx?issueid=CB46095
…
Thanks
Rickey Norvil
Dear Rickey,
We have already received such reports related specifically to COM libraries. Our developers are looking for the complete resolution and we will post it here. For the time being, we would like to thank you for sending your findings to us. This information ay be very helpful to other programmers who have encountered similar problems after installing the last updates to our components. We greatly appreciate your input.
Thanks,
Serge