locked
Help with start up of VS2005 app RRS feed

  • Question

  • Hi,

    I have moved my application over from VS2003 to VS2005.

    A lot has changed in my application since the move - I have recoded 80% of it (my previous version was in need of improvement). A lot of the old code remains in the project but is not compiled.

    One thing I am trying to deal with at the moment is the long amount of time it takes for the application to launch on a client machine - even a fairly powerful one.

    Having looked on the web I have followed an MS guide and tried to use the vadump.exe tool. My problem is that I am not sure how to interpret the result and hoped someone could give some advice.

    I do seem to have *ALOT of modules/dll's loading with the system. I do not know if this is normal. I am not sure what should or shouldn't be there and if it shouldn't I do not know how to get rid of it.

    My application uses Windows forms, Access databases, Keyoti spell checker and Crystal Reports. That's pretty much it. Some XML for the Crystal Reports dataset. There may be some other stuff lurking from the old system.

    Here is the module load result from vadump. This is taken at application startup which queries a number of databases and performs some database alterations and checks for an update (using the AppUpdater component) - nothing major. Some times the wait for application load, especially from cold, can be a couple of minutes. Any help would be appreciated.

    Thanks in advance.

    Module Working Set Contributions in pages
        Total   Private Shareable    Shared Module
          681         2       679         0 prs.exe
           62         3         6        53 ntdll.dll
           33         2         8        23 mscoree.dll
           68         3         7        58 KERNEL32.dll
           41         3         0        38 ADVAPI32.dll
           47         2         0        45 RPCRT4.dll
           31         2         0        29 SHLWAPI.dll
           27         2         1        24 GDI32.dll
           61         2         2        57 USER32.dll
           47         4         0        43 msvcrt.dll
          540        17       106       417 mscorwks.dll
           67         6        15        46 MSVCR80.dll
           36         8         0        28 shell32.dll
           53         2         0        51 comctl32.dll
           26         4         0        22 comctl32.dll
          821        48       358       415 mscorlib.ni.dll
           94         7         2        85 ole32.dll
           28         2         1        25 uxtheme.dll
           11         4         0         7 YzShadow.dll
           55         3         0        52 MSCTF.dll
          428        30       245       153 System.ni.dll
          131        14        93        24 Microsoft.VisualBasic.ni.dll
           81         2         8        71 mscorjit.dll
          128        12        48        68 System.Drawing.ni.dll
          477        15       183       279 System.Windows.Forms.ni.dll
           11         1         6         4 System.Runtime.Remoting.dll
           15         2         0        13 ws2_32.dll
            6         2         0         4 WS2HELP.dll
          114        10       104         0 System.Configuration.ni.dll
           56         4        13        39 System.Xml.ni.dll
           23         2         1        20 mswsock.dll
           22         2         0        20 hnetcfg.dll
            5         1         0         4 wshtcpip.dll
            6         0         0         6 xpsp2res.dll
           33         2         0        31 rsaenh.dll
           17         2         1        14 iphlpapi.dll
            8         2         6         0 netman.dll
            8         2         4         2 MPRAPI.dll
            7         2         2         3 ACTIVEDS.dll
            6         2         2         2 adsldpc.dll
           12         3         0         9 NETAPI32.dll
            7         2         0         5 WLDAP32.dll
           10         2         3         5 ATL.DLL
           16         2         1        13 OLEAUT32.dll
            8         2         3         3 rtutils.dll
            9         2         5         2 SAMLIB.dll
           17         2         0        15 SETUPAPI.dll
           12         2         6         4 netshell.dll
           13         3         7         3 credui.dll
            9         2         1         6 RASAPI32.dll
            8         2         3         3 rasman.dll
            9         2         4         3 TAPI32.dll
           10         2         3         5 WINMM.dll
            8         2         1         5 Secur32.dll
           13         2         0        11 WININET.dll
           16         2         0        14 CRYPT32.dll
            7         2         0         5 MSASN1.dll
            7         2         2         3 WZCSAPI.DLL
           11         4         4         3 WZCSvc.DLL
            3         0         2         1 WMI.dll
            9         2         7         0 DHCPCSVC.DLL
           11         2         0         9 DNSAPI.dll
            6         2         0         4 WTSAPI32.dll
            8         2         0         6 WINSTA.dll
           18         5        13         0 ESENT.dll
           14         1         9         4 CrystalDecisions.CrystalReports.Engine.dll
           11         1         6         4 CrystalDecisions.Shared.dll
          333        43       261        29 System.Data.ni.dll
           18         4         1        13 System.Data.dll
            5         1         1         3 CrystalDecisions.ReportAppServer.CommLayer.dll
           35         5         0        30 CLBCATQ.DLL
            4         1         0         3 COMRes.dll
            5         1         0         4 VERSION.dll
           30         2        28         0 sacommlayer.dll
           10         2         0         8 WINSPOOL.DRV
            8         2         6         0 oledlg.dll
            5         1         0         4 WSOCK32.dll
           13         2         4         7 ATL80.DLL
           74         3        63         8 MSVCP80.dll
            5         2         2         1 shfolder.dll
            4         1         0         3 CrystalDecisions.ReportAppServer.ClientDoc.dll
            5         1         1         3 CrystalDecisions.ReportAppServer.DataSetConversion.dll
            4         1         0         3 CrystalDecisions.ReportAppServer.DataDefModel.dll
            4         1         0         3 CrystalDecisions.ReportAppServer.Controllers.dll
            4         1         0         3 CrystalDecisions.ReportAppServer.CubeDefModel.dll
            5         1         1         3 CrystalDecisions.ReportAppServer.ReportDefModel.dll
            4         1         0         3 CrystalDecisions.KeyCode.dll
           83         8        75         0 keycode.dll
           23         5         0        18 dbghelp.dll
           72         5        67         0 clientdoc.dll
           39         6        33         0 cachemanager.dll
           94         3        91         0 rptcontrollers.dll
           17         5         0        12 SSSensor.dll
          107         4       103         0 datadefmodel.dll
           96         6        90         0 cxlibw7-2-1.dll
           33         3        30         0 commonobjmodel.dll
           71         4        67         0 System.Web.ni.dll
          185         7        44       134 gdiplus.dll
            5         2         3         0 dciman32.dll
           46         7        39         0 System.Transactions.ni.dll

    Tuesday, March 14, 2006 8:04 PM