patagoma
2010-05-13 11:01:01 UTC
Hello
I am trying to implement a very simple Client/Server application in a
Windows CE 6.0 R3 image for de Device Emulator using native C++ in VS2005.
As I am quite new with C++ and WinCe 6.0, y started with the example given
in the msdn page for the socket connection with Winsock
(http://msdn.microsoft.com/en-us/library/ee493694(v=WinEmbedded.60).aspx )
I added to the OS image the Winsock Support catalog item (SYSGEN_WINSOCK),
and linked the ws2.lib to the Linker. I added the .lib in the project
properties->Linker->Additional Dependencies, and I also added the additional
library directory path where the .lib file is in my computer
(C:\WINCE600\PUBLIC\COMMON\OAK\LIB\ARMV4I\RETAIL in my case).
Then, after I build and run the project, I get the error code 10091 when the
WSAStartup(MAKEWORD(2,2), &wsaData) is executed.
The error means that the Network subsystem is unavailable, but I didn't find
any clear solution for this problem.
Is ther anything I missing or I am doing wrong? How can I make avaiable the
network subsystem in the emulator or in a device? Because I tried with one,
and I get the same error.
Thank you!
I am trying to implement a very simple Client/Server application in a
Windows CE 6.0 R3 image for de Device Emulator using native C++ in VS2005.
As I am quite new with C++ and WinCe 6.0, y started with the example given
in the msdn page for the socket connection with Winsock
(http://msdn.microsoft.com/en-us/library/ee493694(v=WinEmbedded.60).aspx )
I added to the OS image the Winsock Support catalog item (SYSGEN_WINSOCK),
and linked the ws2.lib to the Linker. I added the .lib in the project
properties->Linker->Additional Dependencies, and I also added the additional
library directory path where the .lib file is in my computer
(C:\WINCE600\PUBLIC\COMMON\OAK\LIB\ARMV4I\RETAIL in my case).
Then, after I build and run the project, I get the error code 10091 when the
WSAStartup(MAKEWORD(2,2), &wsaData) is executed.
The error means that the Network subsystem is unavailable, but I didn't find
any clear solution for this problem.
Is ther anything I missing or I am doing wrong? How can I make avaiable the
network subsystem in the emulator or in a device? Because I tried with one,
and I get the same error.
Thank you!