Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 6 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I have reasently uppgraded my computer with a SSD drive. I did a fresh installation of windows. In the process I also uppgraded from win 8.1 to win 10.
I use a decentralized arichive keeping the system on the C:\ drive and documents on a bigger storage drive D:\ .
Problem: When the win10 installation was finished and so the installation of Visual Studio I went on to open one of my programming projects just to get the following error message when compiling.
Microsoft Visual Studio
Unable to start program
'D:\...\project\Debug\project.exe'.
Access denied.
The project hasn't been moved since I use the same storage drive as before the installation.
When I plugg in the old system containing win 8.1 there are no problems to be found.
A similar error message pops up if the *.exe file is started from the explorer.
What can be done about this?
Using Visual Studio 2015 on a Windows 10 computer, programming in C++.
Updates
This also affects new projects & solutions made from Visual Studio 2015
The location of the *.exe file doesn't seem to matter. Even a new project started on the C:\ drive encounters the same problem.
Starting the project in a folder with default security acess (windows user ID) gives the same result.
Solution: Deactivate your Anti-Virus program's active file protection that scans *.exe files when executed.
Troubleshooting: The error message "Acess Denied" is an indication that the system doesn't reach the program. From this point one should start examine possible obstacles. Start with deactivating the virus program. If that helps try and find out what part of the virus program that is the problem and deactivate only that part. Else continue examine other possible obstacles.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 2 days ago.
Improve this question
I was programming in C++ a small program using QMultiMedia and QAudioOutput.
I compile and run my program in Qt (6.4) without error however when I run my program in File Explorer, when all DLLs are present, I get this error:
'could not load multimedia backend'"
QtMultimedia is not currently supported on this platform or compiler.'
So I started my research and I found several solutions however I did not understand their explanations very well (I start ...).
Here are the links I found:
-> Qt forum
-> Bugreports
-> CSDN
I tried to copy all the DLLs in mingw/bin in my folder or there is my .exe, I also copied the multimedia plugin (from mingw/plugins) to my folder or there is my .exe.
I'm on Windows 10 22h2.
Could you give me a clearer explanation? I would be very grateful.
Kind regards
Albin
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 months ago.
The community reviewed whether to reopen this question 3 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I'm running windows 10 enterprise trying to launch a VM in Virtualbox and it fails with the error.
"VMMR0_DO_NEM_INIT_VM failed: VERR_NEM_MISSING_KERNEL_API_2 (VERR_NEM_MISSING_KERNEL_API_2).
VT-x is not available (VERR_VMX_NO_VMX)."
I have HyperV disabled in windows features and core isolation turned off
I've checked the registry as well and core isolation / memory itegrity is off there. I've also made sure that in group policy settings that virtualization based security is disabled.
My BIOS does have VT-X /VT-D enabled.
I'm currently on Virtual box 6.1.6 but have tried previous versions back to 6.0.12 with no success.
This happens to me from time to time on my Windows 10 host. I tried a lot of things to fix it, but what worked in the end is running this command as an administer in PowerShell:
bcdedit /set hypervisorlaunchtype off
and rebooting the computer.
I got this error too. I got passed it by uninstalling VirtualBox, removing any residual files, and then reinstalling VirtualBox.
Based on Google search results of this error, posts about it started appearing only a few days ago. I found out how to get passed this error from one of the comments on https://www.reddit.com/r/Windows10/comments/g4hksf/virtualbox_problems/.
By the way, the only Windows feature that needs to be turned off is HyperV.
I had the same problem. Tried the turning the HyperV off and rebooting but that did not work. My BIOS had Virtural turned on too. What fixed it for me was to go into BIOS, turn the virtual off then reboot it. Then reboot again and go back into the BIOS and turn virtual back on.
I got the same error, and simply enabling BIOS VT-x was enabled, but simply enabling again BIOS VT-x got rid of the error. Uninstall virtual box, delete Virtual box files in program files, and in ProgramData
In windows 10
Settings-> Update & security->Recovery -> Advanced startup ->Restart now
Next after restarting choose
Troubleshoot ->Advanced options->UEFI Firmware Settings ->click Restart
Then select F10 ->System configurations->Virtualization Technology select enabled and pressed enter
Exit Saving changes->Select yes
Then reinstall virtual box, hope it helps
I followed these steps here (like you did) and nothing worked.
Eventually, I disabled VT-d in my BIOS, and suddenly I was able to run VirtualBox machines. I have no idea why it worked, just try it if you have nothing else to do.
I did all the steps I found on the Internet, but I solved the problem by installing virtualbox version 7. The previous version was version 5 and my windows version is 10
This happend with me when windows 10 updated to windows 2004
So to fix this Make sure you disable the feature HyperV of windows feature
start -> Windows Features -> Windows Hypervisor Platform -> uncheck if checked.
restart your PC.
then try vagrant up or start the virtualbox machine again
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I created a C++ Blank App (Universal Windows) in Visual Studio 2015 Update 2. I added a webview and when running the app in Debug or Release mode, it crashes with error: Access violation writing location 0x00000000.
If I perform similar steps using C# or Visual Basic, I do not get the error. Any help?
I can reproduce your issue if I debug the C++ app in x86 arch on a x64 machine which OS build is 10586.318, Version 1511 and Windows SDK is also 10586. If you change your project's platform to x64 or choose "Start Without Debugging", you can run your app successfully.
And as I've tested, this issue has been fixed in Windows Insider Preview 14316.rs1, it's possible to be delivered in the following released version.
You're welcome to join the Windows Insider Program and give us feedback on our latest work.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
I'm attempting to get Qt setup to run a simple hello world example, but I can't get the compilation setup right for the IDE (QtCreator). When I attempt to build by pressing the build button, I am getting the following error message:
Qt creator needs a compiler setup to build. Configure a compiler in the kit options
So I noticed that I had nothing setup for the compiler. I then downloaded a MinGW compiler and it seems the IDE managed to recognize it automatically. Still, when I attempt to build I am getting the same error message.
The truth is that I really don't know the process of compilation either from the command line or in other IDEs. I've read that there might be an issue with paths? I'm running on Windows. I would be extremely grateful if someone could explain what I may be doing wrong and what issue I may be having with building in QtCreator.
You will need to do the following steps for QtCreator:
1) Go to Settings > Build and Run > Kits.
2) Check if the auto-detection is correct. It is probably not if you have issues, so you will need to either set up manually or rreinstall QtCreator to see if the problem goes away. If it is not detected, you will have a read exclamation mark.
3) Add a new Kit.
4) Type a name.
5) You need to choose the proper "Qt version".
6) You need to choose the compiler.
7) Select the "Make Default" option.
As for command line, you should be able to do something like this to build a simple dummy main.cpp:
main.cpp
int main() {}
and then you can run the following commands in the (msys/cygwin/etc) prompt:
qmake -project && qmake && make
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How do I generate a .sys file so that I can load it in the OSRloader?
A .sys file is basically a .dll file that only depends on the kernel.
You'll need the Windows Driver Kit's libraries (especially ntoskrnl.lib).
Open up the project properties and:
Select Linker->Input, then change Ignore All Default Libraries to Yes.
Select Linker->Input, then add ntoskrnl.lib to Additional Dependencies.
Select Linker->System, then change Driver to to Driver, and Subsystem to Native.
Select Linker->Advanced, then change Entry Point to DriverEntry.
Select Linker->Advanced, then change Image Has Safe Exception Handlers to No (if it's there).
Do these for both Debug and Release configurations (you might not be able to use the Debug build).
Then build. You may also need to add other libraries (e.g. BufferOverflowK.lib).