【发布时间】:2012-05-06 23:45:43
【问题描述】:
我正在尝试将this library 集成到我的应用程序中。
一开始它崩溃了
Unable to find an entry point named 'TaskDialogIndirect' in DLL 'ComCtl32'.
所以我取消了注释
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
推荐here。
现在应用程序将无法编译并显示以下消息:
Could not find file 'Microsoft.Windows.Common-Controls, Version=6.0.0.0, Culture=*,
PublicKeyToken=6595b64144ccf1df, ProcessorArchitecture=*, Type=win32'
删除 app.manifest 会导致应用崩溃,因为我使用的是 Microsoft 功能区。
如何解决这个错误?
【问题讨论】:
-
您尝试使用哪个版本的 Windows?
标签: c# wpf manifest common-controls