So this is a pretty weird issue I have. To be succinct I can compile my C++ code on Visual Studio Code for the most recent compilation using Visual Studio Code but the executable does not run giving the error message "Error: The specified executable is not a valid application for this OS platform.At line:1 ..
I am trying to package a C++ project with all libraries and dependencies on any platform but don’t know how. I have heard that they use some sort of a packager but i don’t know any. And what is surprising is that the executable don’t work even if i shipped the .o file with the ..
So, I’ve written a C executable on Linux for Windows using mingw32-gcc. It is a basic Input-Output program, you type an input and get an answer. Problem is the cmd shuts down immediately, so the user can’t see the output. Assuming I cannot use Windows to edit the executable there, what should I change in ..
I ran dotnet.exe in a Ubuntu WSL2 instance, and it surprisingly ran. This is a Windows program, that just ran on an Ubuntu instance. How is this possible? Could someone provide a link to the documentation that explains this behaviour? Source: Windows..
How should executables for 32-bit and 64-bit be differentiated? At the moment i use "-x86" for 32-bit and "-x64" for 64-bit. Is this correct or is there a standard for this kind of stuff? Source: Windows Que..
I want to automate some simple tasks using c++. For example I want a specific text file to be created automatically when executing the automate executable. However, when I double click on that file, the terminal pops up. Is there an option I can add to my compiler or a method to my automate.cpp file ..
How do i run an executable file that requests for admin locally on my account (without entering admin username / password.) Source: Windows..
I am getting the following error during the process: Made a python file (The program is depicted below) Made a exe (http://www.py2exe.org/index.cgi/Tutorial) Ran the exe The error is thrown due to (import cv2) Error >D:loginexedisttestexe.exe ModuleNotFoundError: No module named ‘numpy’ Traceback (most recent call last): File "testexe.py", line 10, in <module> import cv2 File "<frozen ..
I’m looking to randomize the file name of an executable on execution in c++ but can’t seem to find what I’m looking for Source: Windows..
I don’t know if there is a simple method I’m missing but. I want an application or executable, from a python file. this python file uses the terminal and or command prompt. py2app is GUI specific, to my knowledge. is there something I can use instead? I want to be able to distribute this. and ..