Jump to content

.exe access denied


Recommended Posts

Posted

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


Posted

It seems to be my Visual C++ setup. I've to find out the configuration for assemblys or something like this.

On the other hand it should be a post for the MDFN.

Thanks

Athlux

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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