Multithreading in PocketPC
-
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 .....
-
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 .....
_beginthread
is a function in the desktop C runtime which wraps up the underlyingCreateThread
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 DLLcoredll.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 useCreateThread
.Stability. What an interesting concept. -- Chris Maunder
-
_beginthread
is a function in the desktop C runtime which wraps up the underlyingCreateThread
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 DLLcoredll.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 useCreateThread
.Stability. What an interesting concept. -- Chris Maunder