Re: Socket programming in windows mobile 5.0 its support CAsyncSocket class? Hi, Use the following configuration steps:
1. Open the project file in Visual Studio.
2. Navigate to "Tools" -> "Options", and expand "Projects and Solutions", and click "VC++ Directories".
3. In "Show directories for:" select "Include files". Add the path to the mobile device include directory. If you accepted the defaults when installing Windows Mobile SDK, then the new directory will be either:
"C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Activesync\Inc"
for Pocket PC.
"C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Activesync\Inc"
for Smartphone.
4. In "Show directories for:" select "Library files". Add the path to the mobile device library directory. If you accepted the defaults when installing Windows Mobile SDK, then the new directory will be either:
"C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Activesync\Lib"
for Pocket PC.
"C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Activesync\Lib"
for Smartphone.
5. Navigate to "Build", and click "Rebuild All" to compile the executable file. |