-3

This is the message I am getting while trying to run any program in my VS code:

The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" terminated with exit code: 3221225781

  • `java`, `c++` yet no code. My guess is your code is incorrect. Provide a minimally reproducable example – Lala5th May 13 '22 at 16:33
  • None of my programs are running be it in any language – Anam Ali May 13 '22 at 16:34
  • 1
    FYI, there is a difference between `visual-studio` and `visual-studio-code`. Are you using the MS Visual Studio compiler inside Visual Studio Code IDE? – Thomas Matthews May 13 '22 at 16:36
  • But I presume the message is not the same, depending on language. The message in the question was specifically about running a powershell script. What about Python, Node, Java, C++? Same message? – Seva Alekseyev May 13 '22 at 16:38
  • Since you tagged as C++ and Visual Studio, use a text editor and write a Hello World program. Run the code in Visual Studio. Build in Release Mode. Run the code in a command window. If this all works, there is an issue with your Visual Studio Code setup. – Thomas Matthews May 13 '22 at 16:38
  • No I am using visual studio code ide – Anam Ali May 13 '22 at 16:39
  • Okay I'll try doing that @ThomasMatthews.Thanx for the help – Anam Ali May 13 '22 at 16:40
  • Try downloading a Java package that has the Netbeans editor. Using Netbeans, write a Hello World program. Run it from Netbeans. If it works, there's a configuration issue with your Visual Studio Code. – Thomas Matthews May 13 '22 at 16:40
  • @SevaAlekseyev I am getting this error while running both c++ and java programs. – Anam Ali May 13 '22 at 16:41
  • [https://james.darpinian.com/decoder/?q=3221225781](https://james.darpinian.com/decoder/?q=3221225781) says the error is caused by a missing dll. Perhaps a required dll is not in one of the folders of the `PATH` environment variable or perhaps one of these other locations that your OS will look: [https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order#search-order-for-desktop-applications](https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order#search-order-for-desktop-applications) – drescherjm May 13 '22 at 17:37
  • Welcome. You should take a look at [ask] and take the [tour], if you have not done so already. Also take a look at [example]. – cliff2310 May 13 '22 at 18:05

0 Answers0