When I try to start the app in the WinCe 5.0 emulator a message 'project1' is not a valid Windows CE application. When I run in on the real WinCE 6.0 device it tries to run, but shows hundreds of unhandled exceptions. I made a stripped app. I will report when I try in on real HW (Mstar2531 CPU). Again hundreds of unhandled exceptions.
After some adaptions it works well under Windows Embedded Compact 2013 - ARMv7.
The download is for a project targeting x86 not ARM. Is this meant as a server for x86 machines (for CE machines to view) or as a server for CE machines (for external clients to view)? If the project is meant for Windows CE (and ARM-based processors), how does one convert from the current x86 project to a ARM project?
Great sharing. This application is a complete re-writeup from original source of AT&T as it said and with the modification from fmuell it works even better. Thanks to the author as well as fmuell.
When the mods given by fmuell in the reviews, it worked great. Thanks for taking the time to post this useful project.
Things I had to change: 1. in CSvrMain::Negotiate() (SvrMain.cpp): .. si.format.depth = (m_ScrUpdate.m_iBitsPerPixel 16) ? 15 : m_ScrUpdate.m_iBitsPerPixel; //otherwise Error 'Client requested unsupported format' appears .. 2. in CSvrMain::Negotiate() (SvrMain.cpp): .. else if (m_ScrUpdate.m_iBitsPerPixel 16) {//color order is rgb, so si.format.redShift = 10; /* number of shifts needed to get the red */ si.format.greenShift = 5; /* similar for green */ si.format.blueShift = 0; /* and blue */ } .. 3. in RectangleSend( LPVOID parent ) (ScrUpdate.cpp): .. DeleteObject(hBMP); DeleteObject(hBMPCmpCopy); DeleteDC(hDCCopy); DeleteDC(hDCCmpCopy); //DC must be deleted before DIB otherwise DIB remains in memory DeleteObject(hDIBCmp); DeleteObject(hDIB); .. 4. I included rfbVncAuthentication, which is EBC-DES, with the password used as key, each password character in reverse bit order!!! So every 8th bit becomes a zero, using 7-bit ASCII-chars.. Thanks to http://www.vidarholen.net/contents/junk/vnc.html ! Now it is running quite well under Wince6.0, compiled with emvc++ for ARMV4T!