locked
C++ desktop sharing application RRS feed

  • Question

  • Dear programmers,

    I have downloaded the program from here http://www.tightvnc.com version 1.3.10 and want to compile with the vs2013 ultimate edition and get the following error.

    Error      7              error LNK2026: module unsafe for SAFESEH image.          D:\robotics programming\ys  u\tightvnc-1.3.10_winsrc\vnc_winsrc\vncviewer\htmlhelp.lib(init.obj)         vncviewer

    Error      8              error LNK1281: Unable to generate SAFESEH image.        D:\robotics programming\ys  u\tightvnc-1.3.10_winsrc\vnc_winsrc\vncviewer\Debug\vncviewer.exe     1              1              vncviewer

    I do not know that it is certification error as described here https://msdn.microsoft.com/en-us/library/windows/desktop/hh749939 as I am using windows 8.1 or safeseh error and how to solve and apply patch that is suggested here https://github.com/joyent/node/issues/4242  to solve the issue.

    Thanks

    Monday, April 20, 2015 5:29 AM

Answers

  • Hi ADNAN_SHAHID,

    Thanks for posting in MSDN forum.

    I suggest you contact to TightVNC Developers. You could get support at here: http://www.tightvnc.com/contact.php .

    Maybe you could try to right-click on your DLL project, go to Properties > Linker > Advanced and set “image has safe exception handlers” to No, if you have all the project code.

    Read the document about LNK1281 and /SAFESEH  , In some case it may be some third party lib files for which we did not have the source code. These lib files are not be compatible with safe exception handlers is because they were created with an older version of the Visual C++ compiler. So you need to contact to TightVNC and rebuild these libs.

    Best regards,

    Shu


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    • Edited by Shu 2017 Wednesday, April 22, 2015 6:05 AM
    • Marked as answer by Shu 2017 Monday, April 27, 2015 12:41 PM
    Tuesday, April 21, 2015 5:26 AM

All replies

  • Dear programmers,

    I have downloaded the program from here http://www.tightvnc.com version 1.3.10 and want to compile with the vs2013 ultimate edition and get the following error.

    Error      7              error LNK2026: module unsafe for SAFESEH image.          D:\robotics programming\ys  u\tightvnc-1.3.10_winsrc\vnc_winsrc\vncviewer\htmlhelp.lib(init.obj)         vncviewer

    Error      8              error LNK1281: Unable to generate SAFESEH image.        D:\robotics programming\ys  u\tightvnc-1.3.10_winsrc\vnc_winsrc\vncviewer\Debug\vncviewer.exe     1              1              vncviewer

    I do not know that it is certification error as described here https://msdn.microsoft.com/en-us/library/windows/desktop/hh749939 as I am using windows 8.1 or safeseh error and how to solve and apply patch that is suggested here https://github.com/joyent/node/issues/4242  to solve the issue.

    Thanks


    • Edited by ADNAN_SHAHID Sunday, April 19, 2015 3:47 PM make correct
    • Moved by Danny van DamMVP Tuesday, April 21, 2015 12:47 PM not related to training and certification
    • Merged by Shu 2017 Wednesday, April 22, 2015 6:05 AM duplicate
    Sunday, April 19, 2015 3:45 PM
  • Hi ADNAN_SHAHID,

    Thanks for posting in MSDN forum.

    I suggest you contact to TightVNC Developers. You could get support at here: http://www.tightvnc.com/contact.php .

    Maybe you could try to right-click on your DLL project, go to Properties > Linker > Advanced and set “image has safe exception handlers” to No, if you have all the project code.

    Read the document about LNK1281 and /SAFESEH  , In some case it may be some third party lib files for which we did not have the source code. These lib files are not be compatible with safe exception handlers is because they were created with an older version of the Visual C++ compiler. So you need to contact to TightVNC and rebuild these libs.

    Best regards,

    Shu


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    • Edited by Shu 2017 Wednesday, April 22, 2015 6:05 AM
    • Marked as answer by Shu 2017 Monday, April 27, 2015 12:41 PM
    Tuesday, April 21, 2015 5:26 AM