title: Why RunTime Library would have
body: <p>I developed a ocx ,the Runtime Library is setted to &quot;MDd&quot;,it runs well,but when I change the Runtime Library  to &quot;MD&quot; something Strange happened，in the main procedures ，the fun AfxGetAppName() returns ocx’s name.</p>
  <p>For now,my Compromise approach is use theApp instead AfxGetApp.Because I need get m_nMainWnd.
  I found this error in windows10 ,but in windows7 enviroment ,its ok!!!
  I just wonder why and what mistake could be.</p>