我用vc6.0写了一个dll(unicode码),目的就是导出一个测试用的函数 
extern "C" __declspec(dllexport) void test(void)//CStdioFile cfile,CString strAnsi
{
    AFX_MANAGE_STATE(AfxGetStaticModuleState());
    
    MessageBox(0,_T("请对端口进行设置!"),_T("Comm   Info!"),MB_OK);
    
}
但是在ansi环境下我调用此函数时报错estdllDlg.obj : error LNK2001: unresolved external symbol __imp__test
Debug/testdll.exe : fatal error LNK1120: 1 unresolved externals说明:我已经加了导入函数说明了extern "C" __declspec(dllimport) void test(void);因为原先我已经试过当dll和调用端client_testdll都是ansi环境下的码制时,是没有问题的,但是 我想把dll改为unicode的希望牛人给指点指点.