Solved

C++ runtime library error

Posted on 2013-05-21
2
136 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
  • 2
2 Comments
 
LVL 32

Accepted Solution

by:
sarabande earned 500 total points
Comment Utility
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 32

Expert Comment

by:sarabande
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

762 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now