I need to have GraphicLib := dglGdiPlus as I am using metafiles in my diagram. This works fine but when the first diagram block is added there is about a 4 sec delay while (presumably) the GdiPlus library is loaded. After the first block there are no more delays.
Hello David, that's really strange. I have never seen such delay occurring, how do you know that is about GDI Plus loading mechanism?
unit DgrGdipObj; procedure InitializeGdiPlus; procedure FinalizeGdiPlus;
.... Tried the Initialize & Finalize but that did not make any difference.
I'm sorry, but as I said I never saw it and I don't know what might be causing this. What happens if you use Direct2D lib?
Strange, but I simply don't see any delay here. And yes, when debugging from the IDE you might see a significant delay as it intercepts and shows dlls being loaded in the debug Window. A <1s delay is acceptable and mostly unnoticed, isn't it?