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. Multithreading in PocketPC

Multithreading in PocketPC

Scheduled Pinned Locked Moved Mobile
comtutorial
3 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.
  • B Offline
    B Offline
    Bangerman
    wrote on last edited by
    #1

    I have a multithreaded COM object I want to convert to Pocket PC. I have added the build type and appropriate build options but I find that there is no _beginthread function. Does the pocketPC support multiple threads and if so, can you point me to an example.


    Hell I thought it was funny .....

    M 1 Reply Last reply
    0
    • B Bangerman

      I have a multithreaded COM object I want to convert to Pocket PC. I have added the build type and appropriate build options but I find that there is no _beginthread function. Does the pocketPC support multiple threads and if so, can you point me to an example.


      Hell I thought it was funny .....

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

      _beginthread is a function in the desktop C runtime which wraps up the underlying CreateThread operating system function. On the desktop, you should always use _beginthread or _beginthreadex to ensure that the C runtime is properly initialised. On Windows CE, the C runtime is integrated into the OS, as part of the core system DLL coredll.dll. CreateThread handles initialising the C runtime for the new thread in addition to its other tasks. Therefore _beginthread is not necessary and is omitted. You should use CreateThread.

      Stability. What an interesting concept. -- Chris Maunder

      B 1 Reply Last reply
      0
      • M Mike Dimmick

        _beginthread is a function in the desktop C runtime which wraps up the underlying CreateThread operating system function. On the desktop, you should always use _beginthread or _beginthreadex to ensure that the C runtime is properly initialised. On Windows CE, the C runtime is integrated into the OS, as part of the core system DLL coredll.dll. CreateThread handles initialising the C runtime for the new thread in addition to its other tasks. Therefore _beginthread is not necessary and is omitted. You should use CreateThread.

        Stability. What an interesting concept. -- Chris Maunder

        B Offline
        B Offline
        Bangerman
        wrote on last edited by
        #3

        Thank you, and of course.


        Hell I thought it was funny .....

        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