|
evc4.0下 调用软键盘 Debug正常 release报错
[复制链接]
evc4.0下 调用软键盘
头文件里已经包含了 #include "Sipapi.h"
#pragma comment (lib,"Coredll.lib")
在Edit获得焦点,和失去焦点是这样写的
void student::OnSetfocusEdit1()
{
HWND m_hwnd = this->m_hWnd;
SipShowSIM(SIPF_ON);
SHSipPreference(m_hwnd,SIP_UP);
}
void student::OnKillfocusEdit1()
{
HWND m_hwnd = this->m_hWnd;
SipShowSIM(SIPF_OFF);
SHSipPreference(m_hwnd,SIP_DOWN);
}
在 Pocket pc 2003, Win32(WCE emulator)Debug,Pocket pc 2003 emulator 下 软键盘能正常弹出和关闭
但在 E71X,Win32(WCE emulator)Release,E71X Device 下 (这是向我们的PDA设备生成可执行文件)
报错是:
student.obj : error LNK2019: unresolved external symbol SHSipPreference referenced in function "protected: void __cdecl student::OnSetfocusEditXueyuan(void)" (?OnSetfocusEditXueyuan@student@@IAAXXZ)
student.obj : error LNK2019: unresolved external symbol SipShowIM referenced in function "protected: void __cdecl student::OnSetfocusEditXueyuan(void)" (?OnSetfocusEditXueyuan@student@@IAAXXZ)
ARMV4Rel/student_info.exe : fatal error LNK1120: 2 unresolved externals
请高手解决 公司的产品亟待解决这个问题
|
|