VNCFree: building multi-monitor support

Ryan M. Dorn ryan "at" rdorn.us
Wed May 16 20:37:01 2007


Hello,

I've done some searching but have not found any mention of this 
problem.  I downloaded the latest RealVNC Free Edition, opened it up in 
MS Visual C++ 6, and tried to build winvnc, and while compiling, I get 
the message "NOTE: Not building Multi-Monitor support"

I've been able to narrow it down to this part of code in 
"rfb_win32/MonitorInfo.h":

#ifdef MONITOR_DEFAULTTONULL
#define RFB_HAVE_MONITORINFO
#endif

If RFB_HAVE_MONITORINFO is not defined, multi-monitor support is 
excluded in MonitorInfo.cxx.  MONITOR_DEFAULTTONULL does not seem to be 
defined, so RFB_HAVE_MONITORINFO is not getting set.  I'm fairly new to 
C++, so I don't know if this is a simple change or not.  Do I just need 
to define this somewhere and everything will be fine & dandy?

If anyone can lend a helping hand, I'd appreciate it.

- Ryan