【问题标题】:Dialog display in Windows Mobile6.0Windows Mobile6.0中的对话框显示
【发布时间】:2009-08-07 06:13:06
【问题描述】:

这是我在为 windows mobile 6.0 创建一个对话框时遇到的链接错误

1>dynamenu.obj:错误 LNK2019:无法解析的外部符号“long cdecl DisplayDlg(struct HWND *,unsigned int,unsigned int,long)”(?DisplayDlg@@YAJPAUHWND__@@IIJ@ Z) 在函数“long cdecl WndProc(struct HWND *,unsigned int,unsigned int,long)”中引用 (?WndProc@@YAJPAUHWND__@@IIJ@Z)

1>Windows Mobile 6 Professional SDK (ARMV4I)\Debug/Dynamenu.exe : 致命错误 LNK1120: 1 unresolved externals

是什么原因?

【问题讨论】:

    标签: windows-mobile


    【解决方案1】:

    不确定“DisplayDlg”这个名字是从哪里来的。在 Win32 中,您将使用 DialogBox() 函数。

    【讨论】:

      猜你喜欢
      • 2011-04-14
      • 1970-01-01
      • 1970-01-01
      • 2011-05-08
      • 1970-01-01
      • 1970-01-01
      • 2011-07-22
      • 2010-12-16
      • 1970-01-01
      相关资源
      最近更新 更多