Compilation errors:
--------------------Configuration: CEVncSvr - Win32 (WCE
x86) Debug--------------------
Compiling...
CEVncSvr.cpp
C:\jdong\vnc\wincevncsvr\SvrMain.h(12) : fatal error
C1083: Cannot open include file: 'winsock2.h': No such
file or directory
ScrUpdate.cpp
C:\jdong\vnc\wincevncsvr\ScrUpdate.h(31) : fatal error
C1083: Cannot open include file: 'winsock2.h': No such
file or directory
SvrMain.cpp
C:\jdong\vnc\wincevncsvr\SvrMain.h(12) : fatal error
C1083: Cannot open include file: 'winsock2.h': No such
file or directory
translate.cpp
C:\jdong\vnc\wincevncsvr\stdhdrs.h(28) : fatal error
C1083: Cannot open include file: 'winsock2.h': No such
file or directory
Generating Code...
Error executing cl.exe.
CEVncSvr.exe - 4 error(s), 0 warning(s)
Logged In: YES
user_id=1868939
Originator: NO
I had the same problem myself. I googled for the header and found it here:
http://doc.ddart.net/msdn/header/include/winsock2.h.html
then it required:
http://doc.ddart.net/msdn/header/include/qos.h.html
Just save those as the header files and put them into
C:\Program Files\Windows CE Tools\wce300\Pocket PC 2002\include\
That seemed to work for me. Compiled with 292 warnings and 0 errors. I'm using VC++ 3.0.
Not sure if this is the right way to go about it though. If someone with expertise in the area can advise / check this is correct, I would appreciate it.
Disclaimer: I'm not a programmer nor an expert in this matter. I do not know for certain this is the right way to go about the solution. I'm just providing insight that seemed to work for me. Use at your own risk.