Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The answers above helped me along, but I was still getting the error:</p> <blockquote> <p>fatal error C1189: #error : Please use the /MD switch for _AFXDLL builds</p> </blockquote> <p>So to help other who may have, like me, spent way too much time stumbling around in search of a clear solution, I'd like to add the bit of information that solved this issue for me. As it turns out, my project had the wrong "Use of MFC" setting to make use of the answer above.</p> <p>To put it in clear terms:</p> <p>Open up the project properties (alt-F7 or Project-menu -> [My Project] Properties) and go to <code>Project -&gt; Properties -&gt; Configuration Properties</code></p> <p>If <code>General -&gt; Use of MFC</code> is set to <code>Use MFC in a Static Library</code></p> <p>you must set</p> <p><code>C/C++ -&gt; Code Generation -&gt; Runtime Library</code> </p> <p>to either <code>Multi-threaded Debug (/MTd)</code> or <code>Multi-threaded (/MT)</code></p> <p>and if </p> <p><code>General -&gt; Use of MFC</code> is set to <code>Use MFC in a Shared DLL</code></p> <p>you must set</p> <p><code>C/C++ -&gt; Code Generation -&gt; Runtime Library</code></p> <p>to either <code>Multi-threaded DLL (/MD)</code> or <code>Multi-threaded Debug DLL</code></p> <p>I got this answer from the <a href="http://social.msdn.microsoft.com/Forums/vstudio/en-US/56c649b9-4c03-4cb6-9321-82f230a95338/c1189-error-please-use-the-md-switch-for-afxdll-builds?forum=vcgeneral" rel="nofollow">Microsoft community answers website</a> and all credit should go to <a href="http://social.msdn.microsoft.com/profile/davewilk/?ws=usercard-mini" rel="nofollow">David Wilkinson</a>.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload