When I built my program and deleted visual studio(cause I didn't want it anymore) I cannot run my application.
The app first asks for two DLL files ( vcruntime140d.dll and ucrtbased.dll). I downloaded it then I got an error that the application could not start correctly (0xc000007b).
I reinstalled Visual Studio again and rebuilt it with a full database. Then delete the visual studio and tried to run the application again and I get the same error.
Related
I have a C++ game that I have made with Visual Studio 2022. I have built the setup.exe and setup.msi. But my friends are not able to run that game after installing it. On the other hand the setup files works perfectly on my computer.
But they get this error message:
The application was unable to start correctly (0xc000007b) Click here
to close the application
I cant get this problem to be resolved. I finally have finished my project on my pc. Now the project needs to run on my laptop. So i put the project on github via visual studio community 2019 code and imported it on my laptop also via visual studio community 2019.
Now every time i've tried to to run the program i get this error:
MSB4019 the imported project "c:\Program Files(x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Micrsoft.Cpp.Default.props" was not found. Confirm that the expression int the import declaration "c:\Program Files(x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Micrsoft.Cpp.Default.prop" is correct and that the file exists on disk
I've tried many things too solve this problem, I tried to reinstall visual studio. I've Completly removed everthing related to visual studio (the installer and the folder with everything in it) and reinstalling it again. Downloading missing sdk software from microsoft, nothing seems to work.
And if I somehow need to change a path, i also tried that but i could not find anywhere where to edit that
This Project NEEDS to run on my laptop
project link: https://github.com/JarodIking/Game-C-
Guys i fixed my issue finally, I had to set the enviroment variable path for VCtargetsPath, and i then had to fix my debugger
I've made a game with Cocos2dx and compiled it for Release/Win32 in Microsoft Visual Studio Community 2019. I've created a virtual machine in Hyper-V (for figuring out what DLLs I need) that runs Windows 10 Pro N. In the test machine I've installed every redistributable Visual C++ package (I think) since 2008, so: 2008 (x86/x64), 2010 (x86/64), 2012 (x86/x64), 2013 (x86/x64), 2015-2019 (x86/x64), but it still gives me the error 0xc000007b when I try to run the app. Strangely, it complains if I don't put vcruntime140d.dll in the app folder, which is odd because the app is compiled for Release, but that file has a d at the end of it, which means it's for apps compiled for Debug, right? I don't know what's going on and I was hoping it would work with all those VC++ packages installed. What do you think could be the problem?
I want to execute a C++ program in a second machine without any IDE.
I tried to launch the .exe file which is located in the debug folder of the project and to generate a .exe file following this guide.
Both .exe gave me the same errors (launched manually and from a prompt):
The program can’t start because
- VCRUNTIME140D.dll
- MSVCP140D.dll
- VCRUNTIME140_1D.dll
- ucrtbased.dll
is missing from your computer. [...]
So i try to uninstall and reinstall Microsoft Visual C++ Redistributable per Visual Studio 2015, 2017 e 2019 from there, but still the same errors.
What am I missing? How can I run it without install the whole Visual Studio IDE? Thanks for your time.
You need to compile your program to a Release exe file. Compiling your program using Debug will never work on any device unless it has Visual Studio installed on it.
Why this happens?
If you select debugging, before the program runs it loads some DLL files for debugging in visual studio. Now, on other machines visual studio may not be installed, so it couldn't find the DLL files so it will just not start. But Release, it is like its name, when you want to send your program to a friend or use it on another computer or share it on the internet, use Release. But if you are testing bugs and still working on the program, use Debug.
By default Python 3.3 installers are built with Visual studio 2010.
I have visual studio 2013 and I want to generate the python33.dll from visual studio 2013.
When i link my application with dll generated from visual studio 2013 then it is getting crash in "Py_Initialize" function but when i link my application with dll generated from visual studio 2010 then everything works fine.
I have tried to build from source with VS2013. Going into "PCBuild" folder and try to build Python33.dll from .sln file but application is getting crashed.
How to make application run without crash with visual studio 2013 dll ?
Is there any steps to compile the Python source code in MinGW in windows ?
Thanks in Advance