D
D
densaface2015-12-02 13:47:06
C++ / C#
densaface, 2015-12-02 13:47:06

What files are missing for the application to run?

I made a program in MS Visual Studio 2008, based on mfc, which uses ActiveX control CMSChart to draw a chart. On the machine on which it was compiled, there are no problems with launching. On others where there is no visual 2008 - there is. When starting up, it writes
Application error
---------------------------
Error while initializing the application (0xc0150002). To exit the application, click the "OK" button.
Attempts to install .NET Framework 3.5 SP1 / Microsoft Visual C++ 2005/2008 Redistributable did not solve the problem
. If I install visual 2008, the application starts normally.
Accordingly, the question is, is there a way to find out which files from the visual the application needs to run? Or advise another adequate component for plotting so that there is no such dependence on third-party software.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav Makarov, 2015-12-02
@densaface

See Rinat Veliakhmedov 's answer - a universal solution when it's not clear what's going on.
Although, if you "got the program", then there is a possibility that you are trying to distribute for the first time. Therefore, first compile the release version of your program to depend on the release libraries, and not on the debug ones (VC Redist installs only the release libraries, because the debug place is only on the developers' computers). If it doesn't help, open dep walker and the list of dependencies in the studio.

V
Vladimir Martyanov, 2015-12-02
@vilgeforce

vcredist is probably missing. Or you need static linking.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question