hi,
hi would like to use vnc objects in a mfc application of mine to
get control over server feature, start/stop the server and managing
all features of the vnc with a high control over them for my purposes.
I've tried to add an mfc dialog-based vc-wizard-generated app to
winvnc workspace as downloaded from realVNC.com, included
vncserver.h and tried to make an instance of vncServer class.
I gave additional subdirs to find headers file and set as output
destination the same of the other projects (..\Debug).
Initially I've obtained some link errors, due to project settings,
and so I added some .lib and .obj files in additional files for linking
(e.g. othread2d.lib or vncserver.obj) but at this point I get some
errors due to methods redefinition
nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator
new(unsigned int)" (??2@YAPAXI@Z) already defined in LIBCMTD.lib(new.obj)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void
*)" (??3@YAXPAX@Z) already defined in libcpmtd.lib(delop.obj)
nafxcwd.lib(afxmem.obj) : warning LNK4006: "void * __cdecl operator
new(unsigned int)" (??2@YAPAXI@Z) already defined in LIBCMTD.lib(new.obj);
second definition ignored
nafxcwd.lib(afxmem.obj) : warning LNK4006: "void __cdecl operator
delete(void *)" (??3@YAXPAX@Z) already defined in libcpmtd.lib(delop.obj);
second definition ignored
can someone explain if and how to integrate the vnc code in
a mfc app ?
thx a lot
Dario
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list