title: After recompiling our FORTRAN-code and using it in C++ our system() or c_str() command don`t work properly
body: <p>Hi I have a big problem: We created a program in C++/Qt 4.8.4 /Qt Creator 2.8.1 years ago that while executing runs another executable (written and compiled in FORTRAN). Everything worked well.</p>
  
  <p>We recompiled our Fortran-Code with the new version of Visual studio and now suddenly it doesn`t work any more. I looked into my C++-Code and found the position where the program crashes:</p>
  
  <pre><code>  std::string Executable = ApplicationName.toStdString();
  
    bool RunOK=  system((Executable+" &gt; "+"X.out2").c_str());
    QString  ExeName =  (Executable+" &gt; "+"X.out2").c_str();
    QString tf = QString::number(qweee);
  
    if(system((Executable+" &gt; "+"X.out2").c_str()))
    {
         msg.showMessage("msg.showMessage("An XXX error occured during calculation......((Executable+ &gt; +X.out2).c_str(): "+ExeName +"......(system((Executable+ &gt; +X.out2).c_str()): "+ QString::number(RunOK));
              if(QFile(OutputFiles[0]).exists())
                  QFile(OutputFiles[0]).remove();
     }
  </code></pre>
  
  <p>Somehow <strong>system((Executable+" > "+"X.out2").c_str())</strong> gets to be <em>true</em> which didn`t happen before.</p>
  
  <p>This seems to happen either in the <strong>c_str</strong>-command or in the <strong>system()</strong>-command. </p>
  
  <p>We had some missing dll-issues before. <strong>Is this another dll-problem and if so which?</strong></p>
  
  <p><strong>Can anybody help us on this?</strong></p>
  
  <p>Thank you</p>