<div>Dear all:</div>
<div>&nbsp;</div>
<div>I used Visual Studio 2005 MFC application to generate a user interface and the Symphony lib to solve a MILP model. I included &quot;symphony.h&quot; in the C++ file and used &quot;sym_environment *env = sym_open_environment()&quot; to generate a symphony environment in C++ file. But duing building the project, there is error showed &quot;Error&nbsp;12&nbsp;error LNK2019: unresolved external symbol _sym_open_environment referenced in function &quot;protected: __thiscall CProductionSchedulingSystemDoc::CProductionSchedulingSystemDoc(void)&quot; (<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:??0CProductionSchedulingSystemDoc@@IAE@XZ" target="_blank">??0CProductionSchedulingSystemDoc@@IAE@XZ</a>)&nbsp;Production Scheduling SystemDoc.obj&quot;. </div>

<div>&nbsp;</div>
<div>I have checked the lib path, it seems no problem. And not sure what&#39;s the other reasons cause this problem. Can anyone give some hints? If you have an example to implement Symphony lib in a MFC application, that will be nice.</div>

<div>&nbsp;</div>
<div>Thanks in advance</div>
<div><br clear="all">best regards</div>
<div>James Pang</div>