I have a MDI App with a View that embeds an Control
(RichEditCtrl, ATL project). When opening the "Editor" for the first time, the control's wrapper class member CreateControl() is called and all the MFC stuff does then internally load the richedxx.dll and module initializing.
The Problem is speed. It takes usually 5..8 seconds to do
all the stuff (locate INPROC server, Activate...).
When opening another Editor/View it then takes only 1 sec, because the INPROC server is already in memory.
Is there a solution to get around with the 1.st-load-time-delay ? Is it possible to "preload" that INPROC server (in InitInstance) without having trouble later with the "CreateControl" stuff (module state managment, cp, advise).
Thanks in advance.