A DLL file loads fast on Windows XP (within 3-5 seconds) but is very slow to load on Windows 7.
Full source code is attached.
The DLL file is called ExpTreeLib. It is called from an exe file. The problem is in the DLL only. Nothing needs to be done on the main exe.
Requirement: study and debug the source code to find out in what part of the source code the lag is happening, then find a solution so it is not slow when called on a Windows 7 machine.