  C:\home\sdr2\src\mainwindow.cpp:265: error: 'class GlobalDcmDataDictionary' has no member named 'reloadDictionaries'
  
  /*
  char* pDict;
  pDict = getenv ("DCMDICTPATH");
  if (pDict!=NULL)
  {
    printf ("The current DCMDICTPATH is: %s\n",pDict);
  }
  else
 */
  if (!dcmDataDict.isDictionaryLoaded())
  {
    fprintf (stdout, "dcmDataDictionary is not loaded,\n"
            "gone load local './dicom.dic'\n");
    dcmDataDict.clear();
    //dcmDataDict.wrlock();
    DcmDataDictionary& d = dcmDataDict.wrlock();
    //bool dic = dcmDataDict.loadDictionary("./dicom.dic");
    bool dic = d.loadDictionary("./dicom.dic");
    if (dic)
    {
      fprintf(stdout, "LOCAL dic is loaded.\n");
    }
    else
    {
      fprintf(stdout, "LOCAL dic is not loaded.\n");
    }
    dcmDataDict.unlock();
  }
  else
  {
    fprintf (stdout, "dcmDataDictionary is loaded,\n");
  }

  // Test the dictionary with a simple DICOM tag
        DcmTag key(0x0010, 0x1030); // This is PatientWeight
        if (key.getEVR() != EVR_DS)
        {
          fprintf(stdout, "The DICOM dictionary has not been correctly read\n");
        }
        else
        {
          fprintf(stdout, "The DICOM dictionary has been correctly read\n");
        }
/*
  if (!dcmDataDict.isDictionaryLoaded())
  //if (-1)
  {
    //dcmDataDict.
    //OFOStringStream oss;
    //oss << "no data dictionary loaded, check environment variable: "
    //    << DCM_DICT_ENVIRONMENT_VARIABLE << OFStringStream_ends;

    //fprintf(stderr, "no data dictionary loaded, please check environment variable:\n"
    //                "  'DCMDICTPATH', which should be set /what_ever _you_like/dicom.dic\n");

    QString  msg = QString("Neither local './dicom.dic' found,\n"
                           " nor environment variable 'DCMDICTPATH' is set.\n"
                           " Loading aborted.\n");
                           //"Please set this environment variable.");
        //  .arg(filename);
        //msg = cond.text();
    QMessageBox::warning(0, "Sdr2 Issue: No DICOM Dictionary found", msg);
    return false;

  }
*/
