Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. C++: error LNK2001: unresolved external symbol __GSHandlerCheck [modified]

C++: error LNK2001: unresolved external symbol __GSHandlerCheck [modified]

Scheduled Pinned Locked Moved Mobile
csharpc++helpvisual-studiodebugging
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    akirilov
    wrote on last edited by
    #1

    Hi guys, I'm using Visual Studio 2005, and every time when I use a function from aygshell.h I receive: error LNK2001: unresolved external symbol __GSHandlerCheck Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\Debug/Trayapp.exe : fatal error LNK1120: 1 unresolved externals Do you have any clues why is this error and how to fix it? P.S. I'm writing in C++ native for mobile, without .Net. What bothers me is that the same result is coming when I try to compile Mobile SDK 5.0 samples that are using aygshell.h.

    modified on Wednesday, June 25, 2008 10:05 AM

    C 1 Reply Last reply
    0
    • A akirilov

      Hi guys, I'm using Visual Studio 2005, and every time when I use a function from aygshell.h I receive: error LNK2001: unresolved external symbol __GSHandlerCheck Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\Debug/Trayapp.exe : fatal error LNK1120: 1 unresolved externals Do you have any clues why is this error and how to fix it? P.S. I'm writing in C++ native for mobile, without .Net. What bothers me is that the same result is coming when I try to compile Mobile SDK 5.0 samples that are using aygshell.h.

      modified on Wednesday, June 25, 2008 10:05 AM

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      Does http://blogs.msdn.com/mgaur/archive/2006/12/21/lnk2019-unresolved-external-symbol-gshandlercheck.aspx[^] help ?

      Cédric Moonen Software developer
      Charting control [v1.4] OpenGL game tutorial in C++ [New]

      A 1 Reply Last reply
      0
      • C Cedric Moonen

        Does http://blogs.msdn.com/mgaur/archive/2006/12/21/lnk2019-unresolved-external-symbol-gshandlercheck.aspx[^] help ?

        Cédric Moonen Software developer
        Charting control [v1.4] OpenGL game tutorial in C++ [New]

        A Offline
        A Offline
        akirilov
        wrote on last edited by
        #3

        thank you very much Cédric, thank you!!! Actually it worked but in reverse - I had to turn Off /GS For all that have the same problem (basically all that have VS2005 SP1 and are making WM5.0 in native): - add /GS- to C/C++ command line or - C/C++ -> Code Generation -> Buffer Security Check: No

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups