Multithreaded application with WinCE7, Colbri T30, and VS 2008

I’m trying to write a simple program that uses multiple threads but I’m not having much luck. For now I’m using VS2008 with C++.

I’ve tried the pthread library but I can’t get past the compile errors when trying to build for a Win32 Smart Device Project. All of my library files, dlls, and header files are in the correct folders, but I can’t get past the “LNK2019: unresolved external symbol” error. Pthread works fine if I compile for windows as a Win32 Console Application.

I’d really like to find a simple example that shows how to use threading that will work with my T30.

Any help would be appreciated. Thanks.

Figured it out. Using CreateThread works just fine.

receiverInput = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)ReceiverInput, portHandle, 0, NULL);