C++: error LNK2001: unresolved external symbol __GSHandlerCheck [modified]
-
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
-
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
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] -
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]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