Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 4th, 2005, 06:04 PM
Registered User
 
Join Date: Dec 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default LNK2019 Error message - Visual C++ .net 2003

Hey, guys! I have a problem when creating a MFC application with visual c++.net. Even when I only create the new project and try to build it rightafter(without adding ANYTHING!), I get the following error message:

error LNK2019: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ) referenced in function "bool __cdecl ATL::_ATL_SAFE_ALLOCA_IMPL::_AtlVerifyStackAvailab le(unsigned long)" (?_AtlVerifyStackAvailable@_ATL_SAFE_ALLOCA_IMPL@A TL@@YA_NK@Z)

Can anybody please help? Tanx in adv.
 
Old December 16th, 2005, 07:32 PM
Registered User
 
Join Date: Dec 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Alright, my MFC programs are working perfectly on my other computer. I must have some missing files on the first computer. Does anybody has an idea on what is missing? What is the problem if different?

 
Old December 18th, 2005, 10:06 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

Since you are facing this problem while building, the possiblity cannot be ruled out that your VS
installation on this comp has some geniune problem and not just a few missing files. If you build
the exe on some other comp (where you are not getting this error) and run that on this one, do face
any problems?

Regards
Ankur Verma





Similar Threads
Thread Thread Starter Forum Replies Last Post
Install .NET framework on Visual studio 2003? stalker C# 2 February 7th, 2008 05:19 AM
Visual Studio .NET 2003 with .NET 2 Framework testsubject VS.NET 2002/2003 1 July 27th, 2006 03:25 PM
Visual Studio.NET 2003 Upgrade cjo ASP.NET 1.0 and 1.1 Basics 2 November 20th, 2003 12:17 PM
A serious problem with visual c .net 2003 yakul Visual C++ 0 September 22nd, 2003 06:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.