This is a discussion on Socket programming in windows mobile 5.0 its support CAsyncSocket class? within the Windows Mobile forums, part of the Mobile Software Development category; I try to write a TCP server in c++ (I use Visual studio 2005) but I have a little problem... ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| I try to write a TCP server in c++ (I use Visual studio 2005) but I have a little problem... The basis of my code is a sample code that came with "Digi Connect ME integration Kit". I have edited a bit, and it worked when I used it in my laptop. The program is just a dialog box that displays messages I send from HyperTerminal to com1, and the Digi board sends it back over TCP. I have tried to write for windows mobile 5.0 (new->project->smart device ....) and added much of the same code. But when I run it on my iPAQ it doesn’t work! I think the problem may be the CAsyncSocket class. I have a feeling that Windows Mobile doesn’t support this class....? Can anyone please help me? |
| Sponsored Links |
| |||
| 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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/windows-mobile/2681-socket-programming-windows-mobile-5-0-its-support-casyncsocket-class.html | |||
| Posted By | For | Type | Date |
| Socket programming in windows mobile 5.0 its support CAsyncSocket ... | Web Hosting | This thread | Refback | 09-15-2007 10:18 PM |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| socket programming | amansundar | VB.NET Programming | 15 | 07-20-2008 03:23 AM |
| best IDE for mobile programming | amansundar | Mobile Software Development | 8 | 11-10-2007 01:15 AM |
| What is the difference between Windows programming and database programming? | Arun | VB.NET Programming | 0 | 07-18-2007 08:58 AM |
| Socket Programming With PHP | Jeyaseelansarc | PHP Programming | 0 | 05-16-2007 02:33 AM |
| XML Socket Servers programming in Flash | Karpagarajan | Flash Actionscript Programming | 0 | 04-05-2007 04:00 AM |