I'm trying to integrate this library into my application.
At first it crashed with
Unable to find an entry point named 'TaskDialogIndirect' in DLL 'ComCtl32'.
so I uncommented
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
as was recommended here.
Now the application won't compile with the following message:
Could not find file 'Microsoft.Windows.Common-Controls, Version=6.0.0.0, Culture=*,
PublicKeyToken=6595b64144ccf1df, ProcessorArchitecture=*, Type=win32'
Deleting app.manifest causes the app to crash, because I'm using Microsoft Ribbon.
How do I fix this error?
The file you are trying is not supported on Windows 7. This means you would have to supply it, if your trying to develop an application that works on Windows XP, simplest solution is to drop support for Windows XP.
Source: Microsoft Visual Basic 6.0 Common Controls
Until you stop using this file, it cannot be run as a 64-bit process, on any Windows operating system including the 64-bit Windows XP Edition.
There is no reason you could not modify the behavior of the code you want to use to supported files.
You might have better luck with this project: http://www.codeproject.com/Articles/137552/WPF-TaskDialog-Wrapper-and-Emulator
I have encountered the same error message in a project, and just wanted to share my solution.
I was building a project on Windows 7, and the project had a dependency upon this dll listed in the manifest file. Since it was trying to compile on Windows 7, it could not find the file, and hence I got the same error.
The solution was simply to remove this dependency from the manifest, as nothing in the project actually seemed to be relying on this assembly.