Jump to content

.exe access denied


athlux

Recommended Posts

Hi,

On my WindowsXP I've installed Microsoft Visual C++ Express Edition and developed 2 little programs.

- DisableSuspend.exe - which calls SetThreadExecutionState ( ES_CONTINUOUS | ES_SYSTEM_REQUIRED )

- EnableSuspend.exe - which calls SetThreadExecutionState ( ES_CONTINUOUS )

Both programs run well and do what I expected on the XP machine where they are build.

Thereafter I copied the .exe files onto another XP machine.

Unfortunately both programs do not start there. I get a message:

"The application could not be startet because their configuration is not correct"

(I have to translate the german message into english, sorry for that)

I am really new in windows-programming. This are my first programs.

Did you have a hint what is my mistake?

Thanks

AthLux

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...