Program does not work, but does work in different system


  1. Posts : 1,771
    Windows 10 Pro
       #1

    Program does not work, but does work in different system


    To preface the program is a PL/1 compiler released in 1999. I'll be more than happy to discuss why I'm using PL/1 today, but not in this thread, please. In this thread I want to discuss an install/execution issue. Why does a program that installs and executes just fine in one system apparently not execute in a different system (mine)?

    The program in question was released in 1999, but in a friend's system in works just fine in a Win 11 64 install. So I tried to install it on my Win 10 64 system. The program is IBM PL/1 for Windows Visual Age 2.1, and produces Windows executables on my friend's system no problem, but I can't get the program to run at all.

    Because this program was released in 1999, it doesn't install into Programs (x86) and stores configuration settings as environment SET and PATH settings. But Windows doesn't complain all about the install.

    Again, probably because this is an older program, it uses a command line to start the program, and specify the name of the program to compile, plus options. In practice that is not an impediment to use. Let me mention that most of the other exe programs in the \bin directory do execute in some way.

    The compiler program is pl1.exe. IF you enter that in a command line without a file name, the compiler throws an error message (on my friend's system). On my system, nothing happens. I've tried Taking Ownership, playing with Security Advanced Settings, et.

    What should I be doing now?
    Attached Thumbnails Attached Thumbnails Program does not work, but does work in different system-programs.jpg   Program does not work, but does work in different system-no-error.jpg   Program does not work, but does work in different system-error.png  
      My Computers


  2. Posts : 42,963
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi, some random thoughts:
    a. Install in compatibility mode
    b. Use compatibility mode when executing from the command line - never tried myself but see:
    Run Applications in Compatibility Mode from Command Line | Q's Tech Babble
    c. View Reliability History- any reports of related crashes?
    d. Check Event viewer
    e. If really determined, get a copy of Procmon (Process Monitor) and you can get a log of every event down to registry access; the log can be filtered (highly technical).
    f. Something blocked by security software.
    g. Does this run in Safe Mode (try your friend's PC first to check)?
      My Computers


  3. Posts : 2,731
    Windows 10
       #3

    Basically all you should need to do is use the Compatibility Tab in a Shortcut. As a first try, running in compatibility mode for a particular version of Windows, it goes back to Windows 95.

    Whether you will have to do this for a launcher EXE or each individual EXE is for you to find out.

    I have a couple of applications that use the Compatibility Tab. Usually you would start with the version of Windows current at the time. Then work your way to more recent versions.

    " it uses a command line to start the program, and specify the name of the program to compile, plus options."

    That can be done with the Shortcuts as well using a suitable Target line adding switches and so forth.

    Shortcuts can of course be on the Desktop, Task bar, Start menu etc.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:43.
Find Us




Windows 10 Forums