Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Why WinCE app can not running in some device.
Forum Updated to NodeBB v4.3 + New Features

Why WinCE app can not running in some device.

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 1.6k 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

    when i build a wince sample "mainwindow".it working on some wince device but not all of them.it's not running on some device.
    I try to find problem.
    found that:
    when this code,it's working:
    @int WINAPI WinMain(HINSTANCE hInstance,
    HINSTANCE hPrevInstance,
    LPTSTR lpCmdLine,
    int nCmdShow)
    {
    QObject q;
    }
    @

    this code is not working.And havn't any response.
    @int WINAPI WinMain(HINSTANCE hInstance,
    HINSTANCE hPrevInstance,
    LPTSTR lpCmdLine,
    int nCmdShow)
    {
    QWidget q;
    }@

    And any other MFC program is working.

    please help me.
    Thanks.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tzander
      wrote on last edited by
      #2

      I suggest reading the Qt docs and beginner tutorials. For starters you are missing a QApplication.

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

        Thank you.
        I know I miss QApplication.
        Because I want to test how to make app working.So i erase all of them to try.
        This sample mean's if i use qtgui module that can't running. But in other wince device,it's working.

        [quote author="Thomas Zander" date="1368596870"]I suggest reading the Qt docs and beginner tutorials. For starters you are missing a QApplication.[/quote]

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

          news:
          qtgui4.dll used ole32.dll
          device1 ole32.dll 100k not working
          device2 ole32.dll 500k working

          I think device1's os cut some function.

          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