VC++ Runtime ENV pre-flight checks. . .how. .

Kedar Agarkar 1 Reputation point
2020-09-07T05:44:08.873+00:00

Hello All,

DEV-ENV: Visual Studio 2017 Community (Visual C++ / MFC application development)
Target-ENV: Windows 7, 8 to Windows 10

Is there any way to find exact issues w.r.to VC++ runtime ENV on target machine, even as they are seen sometimes remaining on system, after running of Re-distribution package.

I attempted to uninstall previous VC++ runtime packages and install 2017 VC++ redistribute, but some unexpected crash on specific machine sometimes re-occur. Hence.

Thanks a lot for your time.

KA

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,600 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
990 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Kedar Agarkar 1 Reputation point
    2020-09-19T07:15:26.643+00:00

    Hi Anna,

    I have shared below, the Collect.exe logs from user machine, where my App is crashing.

    https://1drv.ms/u/s!Ap7_FnWIl93uhVqYaFe44bZO5T4H?e=bShbF5

    To recap. . .

    > MFC dynamically linked x86 build is crashing only on one Windows 10 machine, that has VS 2017 VC-redistribute well set, has sufficient RAM.

    > Crash happens as sharp exits from random runtime points

    Looking forward to help.

    Thanks

    Kedar

    0 comments No comments

  2. Artemiy Moroz 271 Reputation points
    2020-09-21T09:50:29.963+00:00

    Hi!
    I would suggest liking MFC and VC++ Runtimes statically. This will eliminate the need to install them each time and make your app more compatible.