<div>Hi there,</div><div> </div><div>I have a module written in c++ and it compiled and ran successfully on a 32 bit Windows Server 2003 machine with the Visual Studio 2008.  However, when I compiled it on a x64 machine (Windows7 or Window Server) with Visual Studio 2008, I have the following external symbol errors.  Does anyone have an idea why this is happening and how to fix it?  Thank you.</div>
<div> </div><div>1&gt;   Creating library Win32\Debug/mod_baw_2008.lib and object Win32\Debug/mod_baw_2008.exp<br>1&gt;mod_baw.obj : error LNK2019: unresolved external symbol <a href="mailto:__imp__switch_event_bind@20">__imp__switch_event_bind@20</a> referenced in function _mod_baw_load<br>
1&gt;mod_baw.obj : error LNK2019: unresolved external symbol __imp__switch_log_printf referenced in function _mod_baw_load<br>1&gt;mod_baw.obj : error LNK2019: unresolved external symbol <a href="mailto:__imp__switch_loadable_module_create_module_interface@8">__imp__switch_loadable_module_create_module_interface@8</a> referenced in function _mod_baw_load<br>
1&gt;mod_baw.obj : error LNK2019: unresolved external symbol <a href="mailto:__imp__switch_event_get_body@4">__imp__switch_event_get_body@4</a> referenced in function _Answered_Event_Callback<br>1&gt;mod_baw.obj : error LNK2019: unresolved external symbol <a href="mailto:__imp__switch_core_session_rwunlock@4">__imp__switch_core_session_rwunlock@4</a> referenced in function _Answered_Event_Callback<br>
1&gt;mod_baw.obj : error LNK2019: unresolved external symbol <a href="mailto:__imp__switch_ivr_record_session@16">__imp__switch_ivr_record_session@16</a> referenced in function _Answered_Event_Callback<br>1&gt;mod_baw.obj : error LNK2019: unresolved external symbol <a href="mailto:__imp__switch_core_media_bug_add@36">__imp__switch_core_media_bug_add@36</a> referenced in function _Answered_Event_Callback<br>
1&gt;mod_baw.obj : error LNK2019: unresolved external symbol <a href="mailto:__imp__switch_core_session_locate@4">__imp__switch_core_session_locate@4</a> referenced in function _Answered_Event_Callback<br>1&gt;mod_baw.obj : error LNK2019: unresolved external symbol <a href="mailto:__imp__switch_event_get_header@8">__imp__switch_event_get_header@8</a> referenced in function _Answered_Event_Callback<br>
1&gt;mod_baw.obj : error LNK2019: unresolved external symbol <a href="mailto:__imp__switch_core_media_bug_get_write_replace_frame@4">__imp__switch_core_media_bug_get_write_replace_frame@4</a> referenced in function _DataFrame_CallBack<br>
1&gt;mod_baw.obj : error LNK2019: unresolved external symbol <a href="mailto:__imp__switch_core_media_bug_get_read_replace_frame@4">__imp__switch_core_media_bug_get_read_replace_frame@4</a> referenced in function _DataFrame_CallBack<br>
1&gt;mod_baw.obj : error LNK2019: unresolved external symbol <a href="mailto:__imp__switch_core_session_get_uuid@4">__imp__switch_core_session_get_uuid@4</a> referenced in function _DataFrame_CallBack<br>1&gt;mod_baw.obj : error LNK2019: unresolved external symbol <a href="mailto:__imp__switch_core_media_bug_get_session@4">__imp__switch_core_media_bug_get_session@4</a> referenced in function _DataFrame_CallBack<br>
1&gt;C:\SIPServices\freeswitch\Debug/mod/mod_baw.dll : fatal error LNK1120: 13 unresolved externals</div><div> </div><div> </div><div>Thanks,</div><div> </div><div>Frankie</div>