.EXE's running on all windows-based computers?

Discussion in 'Software' started by adamlange, Mar 2, 2005.

  1. adamlange

    adamlange Private E-2

    Hi. Can a C++ program (that has been converted to an .EXE) run on all windows-based computers?

    What limitations are there, if any??

    Thanks! :)
     
  2. QuickSilver

    QuickSilver Corporal

    Once the C++ source code has been compiled to an executable for the Windows environment it will be able to run on any compatible version of Windows as long as all the executable has access to all the dependancies it needs.
    A very simple DOS C++ program will most likely run on most versions of Windows in an executable. Bigger programs that require certain libraries at run-time (like certain DLL's) will require the DLLs to be accessible by each system it is run on.
    A windows application created with, for instance, Visual C++ that is designed to run under Windows may have some of these dependancies and will require you to include them in a package.
    Your question is fairly vague as to:
    By Windows do you mean any version of Windows from say Win95 to Win2003 and WinXP with every release inbetween?
    Are you talking about DOS style C++ programs that run in a command line environment or full Windows style programs taking advantage of the Windows API.

    Hopefully the above will be applicable and help you. If not let us know some more details and we'll try and give you a specific response.

    Cheers
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds