views:

89

answers:

1

HI, I'm getting following error when I run the application after building it. Any solution to this problem is appreciated.

"The application failed to initialize properly (0xc0000022). Click on OK to terminate the application."

Thanks in adv..

+1  A: 

The most common cause of this error seems to be an inability to find a required DLL file. As you noted, this is often due to permission problems, but perhaps in your case you are dependent upon a DLL not in your path.

Chris Arguin
harik
What changed between yesterday and today? -- I think DWMAPI.dll and MPR.dll are probably red-herrings; as you say, they should be delay loaded. Have you checked the permissions on all the other dependent DLLs?
Chris Arguin
I reinstalled the application with latest build, problem is no more seen. Dependency viewer still shows previously mentioned mismatches (delayload dlls).I wonder what kind of dependency causing this problem in the first place. I have seen this problem couple of times and some how it goes of without giving a clue of route cause.
harik