Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: .EXE Opens Then Closes 2 Seconds Away  (Read 4490 times)

0 Members and 1 Guest are viewing this topic.

Zilko

    Topic Starter


    Newbie

    • Experience: Experienced
    • OS: Windows 7
    .EXE Opens Then Closes 2 Seconds Away
    « on: April 11, 2014, 03:59:01 PM »
    So I'm trying to open an .exe. And I think it's coded in C++, it opens for 2 seconds, then closes straight away, it's a CMD window.

    Windows 7 64-Bit Service Pack 1
    No Service Packs
    GeForce GTX 760
    12 Gig Ram
    Intel Core i5 2500K

    DaveLembke



      Sage
    • Thanked: 662
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: .EXE Opens Then Closes 2 Seconds Away
    « Reply #1 on: April 11, 2014, 04:28:36 PM »
    What is this exe? I am guessing it is missing dependencies and closing out when not met such as .net framework etc.

    Knowing this exe better we can assist further. However if this exe is one that is not well known, verifying you have .net framework or know of its dependencies beyond .net such as does this exe interface with a database that is missing?

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: .EXE Opens Then Closes 2 Seconds Away
    « Reply #2 on: April 11, 2014, 04:41:04 PM »
    So I'm trying to open an .exe. And I think it's coded in C++, it opens for 2 seconds, then closes straight away, it's a CMD window.

    Windows 7 64-Bit Service Pack 1
    No Service Packs
    GeForce GTX 760
    12 Gig Ram
    Intel Core i5 2500K

    Run it from within a command prompt to see what the error message is.
    I was trying to dereference Null Pointers before it was cool.