title: Program runs slow on just a couple of computers
body: <p>I have a program that I run on multiple network PCs.  When I compiled the most recent version, it runs extremely slowly on 2 PCs on the network, but runs fine for everyone else.</p>
  
  <p>This used to happen with my old dev PC when I had an additional 2gb RAM installed.  When I would remove the additional 2gb and recompile, it would then work fine for everyone.</p>
  
  <p>Now, I am on a completely new machine and am having the same issue.  I've tried to rebuild the project after rebooting, but still have the same issue.</p>
  
  <p>For all other PCs, the program loads in about 3-5 seconds.  On these 2 PCs, it takes anywhere from 45 seconds to 1.5 mins to load...</p>
  
  <p>One of the PCs is an older Dell Dimension 8200, but the other is a newer OptiPlex that is identical to several other PCs on the network, so this is what is really making it so confusing.</p>
  
  <p>For now, I've had to revert to the old version so it will run correctly for everyone.</p>
  
  <p>Does anyone have any idea of anything to try?</p>
  
  <p>Thanks in advance!!!</p>
  
  <hr>
  
  <p>Edit:</p>
  
  <p>Ok, it was an exhausting day yesterday trying various things to solve this issue.  Here is what I tried and where the problem begins:</p>
  
  <p><strong>Using the new program</strong></p>
  
  <p>Went back to old versions of all updated components, but still had the same issue</p>
  
  <p><strong>Using the old program</strong></p>
  
  <p>I decided to go back to the drawing board and start from the old version of the application and incrementally add the new features a small piece at a time.</p>
  
  <ol>
  <li>Recompiled the old version using the old components - program works fine</li>
  <li>Updated to new DevExpress components - program works fine</li>
  <li>Updated to new ESBPCS components - program works fine</li>
  <li>Updated to new DeepSoftware components - program works fine</li>
  </ol>
  
  <p>Ok, so now we know there is nothing with the component sets I've updated...</p>
  
  <ol>
  <li>Added 1 image to each of 2 image lists - program works fine</li>
  <li>Added new database table - program works fine</li>
  <li>Added code to open and close the new table - program works fine</li>
  <li>Added new action to action list and added a menu item and toolbar button to new action (action does nothing at this point) - program works fine</li>
  <li>Added a new BLANK form to the application and added code to open the new form - BAM!!!</li>
  </ol>
  
  <p>So, adding just one form to the application is what's causing the issue!  I removed all the code for the opening of the form, commented out the uses clauses and removed the uses entry from the project source and everything is back to normal!</p>
  
  <p>Anybody have any idea about this?</p>
  
  <p>Thanks!</p>
  
  <hr>
  
  <p>Edit 2:</p>
  
  <p>For @Warren P - here is my .DPR source:</p>
  
  <pre><code>program Scheduler;
  
  uses
    ExceptionLog,
    Forms,
    SchedulerMainUnit in 'SchedulerMainUnit.pas' {FrmMain},
    SchedulerDBInfoUnit in 'SchedulerDBInfoUnit.pas' {FrmDBInfo},
    SchedulerHistoryUnit in 'SchedulerHistoryUnit.pas' {FrmHistory},
    SchedulerOptionsUnit in 'SchedulerOptionsUnit.pas' {FrmOptions},
    SchedulerExtVersionUnit in 'SchedulerExtVersionUnit.pas' {FrmExtVersion},
    SchedulerSplashUnit in 'SchedulerSplashUnit.pas' {FrmSplash},
    SchedulerInfoUnit in 'SchedulerInfoUnit.pas' {FrmInfo},
    SchedulerShippedUnit in 'SchedulerShippedUnit.pas' {FrmShipped};  {&lt;-- This is the new form with the issue}
  
  {$R *.res}
  
  begin
    Application.Initialize;
    Application.Title := 'SmartWool WIP Scheduling Assistant';
    Application.CreateForm(TFrmMain, FrmMain);
    Application.CreateForm(TFrmDBInfo, FrmDBInfo);
    Application.CreateForm(TFrmHistory, FrmHistory);
    Application.CreateForm(TFrmOptions, FrmOptions);
    Application.CreateForm(TFrmExtVersion, FrmExtVersion);
    Application.Run;
  end.
  </code></pre>
  
  <p>And here is the intialization section of the main form to create the splash:</p>
  
  <pre><code>initialization
  
  FrmSplash:=TFrmSplash.Create(Application);
  FrmSplash.Show;
  FrmSplash.Refresh;
  </code></pre>
  
  <hr>
  
  <p>Edit 3:</p>
  
  <p>Anybody???  Please?</p>