Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. daemon program for PocketPC

daemon program for PocketPC

Scheduled Pinned Locked Moved Mobile
c++visual-studiohardwarequestion
2 Posts 2 Posters 0 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.
  • T Offline
    T Offline
    Themis
    wrote on last edited by
    #1

    Hello, I 'm trying to create a simple program that would run like a daemon for PocketPC and I have the eMbedded Visual C++ 4.0 IDE. I choose to create a new project and my options are limited to applications with GUIs, a WinMain() etc. I want to write a very simple unix like non-gui program in C. I don't even need a console. Is there any way to avoid all these windows specific chaos code? Thanks, Themis

    M 1 Reply Last reply
    0
    • T Themis

      Hello, I 'm trying to create a simple program that would run like a daemon for PocketPC and I have the eMbedded Visual C++ 4.0 IDE. I choose to create a new project and my options are limited to applications with GUIs, a WinMain() etc. I want to write a very simple unix like non-gui program in C. I don't even need a console. Is there any way to avoid all these windows specific chaos code? Thanks, Themis

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #2

      You can start from 'WCE Application' or 'WCE Pocket PC 2003 Application'. On the first page of the wizard, select 'A simple Windows CE application'. This generates a StdAfx.h for common includes and definitions, StdAfx.cpp (which causes precompiled headers to be generated for StdAfx.h) and project.cpp, which contains a WinMain routine. Pocket PC does not support the C standard main routine. The Windows CE C run-time library does not provide the mainCRTStartup routine that the desktop provides. You should use WinMain instead. Please be aware that Windows CE only supports a total of 32 concurrent processes - this is a consequence of the single-memory-map design. A number of those process slots are already running at startup time - the device driver host process device.exe, the Graphics Windowing and Events Subsystem gwes.exe, the file system process filesys.exe, and others. CE 4.x and later provide a Services host process for hosting services written as DLLs. Stability. What an interesting concept. -- Chris Maunder

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups