Application will not start, Windows 8[SOLVED]

Building and customizing Audacity from the source code.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Locked
andrummist
Posts: 8
Joined: Fri Feb 21, 2014 2:10 am
Operating System: Please select

Application will not start, Windows 8[SOLVED]

Post by andrummist » Fri Feb 21, 2014 2:17 am

I have compiled wxWidgets2.8.12. I have successfully compiled the audacity code without errors using VS C++ 2008. But when I try to start the application, I get a dialog box stating that Audacity.exe was unable to start correctly (0xc0000022). I'm not sure what's causing this. I am able to install and successfully run pre-compiled audacity 2.0.5.

I'm sure I'm leaving out relevant information.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Application will not start, Windows 8

Post by Gale Andrews » Fri Feb 21, 2014 5:01 pm

Where are you running Audacity from? If you are running it from the build folder, have you followed "MSVC++ STEP 7: Provide Access to the wxWidgets DLLs" in wincompile.txt by adding the correct wx* DLL's for your build of Audacity?

Please attach an image of the error if it persists.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

andrummist
Posts: 8
Joined: Fri Feb 21, 2014 2:10 am
Operating System: Please select

Re: Application will not start, Windows 8

Post by andrummist » Sat Feb 22, 2014 8:01 am

Yes, I am running it for the build directory and have copied the dlls to the build directory. I have attached a jpg of the error.
Attachments
audacity.jpg
audacity.jpg (590.84 KiB) Viewed 3618 times

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Application will not start, Windows 8

Post by Gale Andrews » Sat Feb 22, 2014 6:40 pm

According to err.EXE ( http://download.microsoft.com/download/ ... 01/Err.EXE ) that error is

Code: Select all

STATUS_ACCESS_DENIED ntstatus.h
{Access Denied}
A process has requested access to an object, but has not been granted those access rights.
Do you get the same error if you just double-click on Audacity.exe instead of running it from within Visual Studio?

Why were you compiling the debug version of Audacity?

Perhaps it would be easier to show extensions for known file types?


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

andrummist
Posts: 8
Joined: Fri Feb 21, 2014 2:10 am
Operating System: Please select

Re: Application will not start, Windows 8

Post by andrummist » Sat Feb 22, 2014 11:03 pm

Thank you for helping!

>Do you get the same error if you just double-click on Audacity.exe instead of running it from within Visual Studio?
Yes, same either way. I tried running app as admin since the error indicates permissions. Same error.

>Why were you compiling the debug version of Audacity?
I compiled debug and release. Same error on both

>Perhaps it would be easier to show extensions for known file types?
Sure, attaching new jpg of the release directory with error.
Attachments
audacity2.jpg
audacity2.jpg (642.71 KiB) Viewed 3606 times

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Application will not start, Windows 8

Post by Gale Andrews » Sun Feb 23, 2014 3:09 am

This isn't any known Audacity problem. I would right-click over C:WindowsSysWOW64 > Properties, and look at the "Security" tab. Make sure all groups you are a member of have the "Allow" boxes checked.

If the problem persists, reboot into the admin account, delete the build folder, clean and rebuild.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

andrummist
Posts: 8
Joined: Fri Feb 21, 2014 2:10 am
Operating System: Please select

Re: Application will not start, Windows 8[SOLVED]

Post by andrummist » Tue Feb 25, 2014 5:41 am

I figured it out by using a process monitor app. The wx ddls that I copied into the Debug and Release directories needed the permissions changed. Similar to what Gale suggested for SysWOW64 , I right clicked on the files, selected properties, then security. I then clicked edit to modify the permissions.

Locked