Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. WINCE程序遇到莫名其妙的问题,执行没反应~
Forum Updated to NodeBB v4.3 + New Features

WINCE程序遇到莫名其妙的问题,执行没反应~

Scheduled Pinned Locked Moved Chinese
2 Posts 1 Posters 2.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    carloshs
    wrote on last edited by
    #1

    请教大家。
    我现在用标准的windows mobile配置编译出来的库的例子在有的wince设备运行正常。但在有的wince设备运行时会出现没任何响应。然后经过我尝试发现。只要程序里面不包含GUI相关的东西就可以运行。包含了就运行不了。求教!~
    代码如下:
    这个能执行:
    @int WINAPI WinMain(HINSTANCE hInstance,
    HINSTANCE hPrevInstance,
    LPTSTR lpCmdLine,
    int nCmdShow)
    {
    QObject q;
    }@

    这个没反应:
    @int WINAPI WinMain(HINSTANCE hInstance,
    HINSTANCE hPrevInstance,
    LPTSTR lpCmdLine,
    int nCmdShow)
    {
    QWidget q;
    }@

    1 Reply Last reply
    0
    • C Offline
      C Offline
      carloshs
      wrote on last edited by
      #2

      新进展。
      发现是因为qtgui4要用到ole32.dll的东西。但是在几台设备的ole32.dll的大小不一样。运行不起来的那台设备的dll文件大小非常小。怀疑是烧系统时裁剪了造成的。

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved