Hello, If You get it working I will pay... I need a very basic project in visual studio with libvncserver (latest version). Using the sample code on the website, I try to build but it fails... nt main(int argc,char** argv) { int width = GetSystemMetrics(SM_CXVIRTUALSCREEN); int weight = GetSystemMetrics(SM_CYVIRTUALSCREEN); int bpp = 3; rfbScreenInfoPtr screen = rfbGetScreen(&argc, argv, width, weight, 8, 3, bpp); screen->frameBuffer =static_cast<char *>(malloc(width*weight*bpp)); rfbInitServer(screen); return(0); } Then when I build I get these errors: 1>main.obj : error LNK2019: unresolved external symbol _rfbInitServerWithoutPthreadsAndZRLE referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol _rfbGetScreen referenced in function _main
the errors are telling you the functions have changed. You are probably using an old example for an updated library, or you haven't linked the library's correctly, an easy way is to check the prototypes and compare the two functions "_rfbInitServerWithoutPthreadsAndZRLE" and "_rfbGetScreen"
Wren11 is right, you may be using an old example for the library or you may not have linked the library correctly.