?
Solved

C++ runtime library error

Posted on 2013-05-21
2
Medium Priority
?
155 Views
Last Modified: 2015-01-08
Exact message is:"  Visual c++ Runtime Library
Program:C:\Program Files...
This application has requested to terminate it in an unusual way."

I have uninstalled and re-installed the C++ 2010 Redistributable  (x86) with no change.
I have renamed a data file - no change.

I have Win7 home premium 32 bit.  The problem occurs when I try to use Photoshop Elements 10 organizer.  

Thanks for any help you can provide.
0
Comment
Question by:PPPZZZ333
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 35

Accepted Solution

by:
sarabande earned 2000 total points
ID: 39186758
the error is caused by a bug of the program. most likely it passed a NULL pointer to function of the runtime library, for example strlen, what causes an access violation error that shows like you have seen.

if it is your program, you should run it in debug mode from visual studio and step-in when the error shows up. that should lead you to the source code which caused the runtime error. examine the stack if the source you got into was not your source. you also might check the flag for 'Thrown' at menu Debug-Exceptions...-Win32 exceptions-Access Violation to get closer to the error line.

if it is another program you should report the error or check the faq's.

Sara
0
 
LVL 35

Expert Comment

by:sarabande
ID: 39188405
the Visual C++ 2010 Redistributable  is a package that could be used for deployment of your software developed with visual studio to computers that don't update on a regular base (for example by windows update) and therefore may miss necessary runtime dlls on the system. the dlls needed by adobe photoshop have been installed by the setup of photoshop. if you uninstall the redistributable package, you would not remove any dll needed by photoshop but only the redistributable package. same applies for reinstallation. the package would not replace a younger version of the runtime dll by an older one.

beside of that, it is not likely that a crash in the runtime dll was due to a bug in the runtime function. instead the bug or error is in the calling function what is a function of photoshop. you could try to get a service pack or bugfix of photoshop what may solve your issue if it was a known issue and was corrected by adobe. in any case the best you can do is to call the support of adobe. in case of a crash they most likely will give free support.

Sara
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question