我正在尝试将此库集成到我的应用程序中。
起初它崩溃了
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>
正如这里推荐的那样。
现在应用程序不会编译并显示以下消息:
Could not find file 'Microsoft.Windows.Common-Controls, Version=6.0.0.0, Culture=*,
PublicKeyToken=6595b64144ccf1df, ProcessorArchitecture=*, Type=win32'
删除 app.manifest 会导致应用崩溃,因为我使用的是 Microsoft 功能区。
如何修复此错误?