taskdialog

TaskDialog not working on (or replacement for) Windows 10?

烂漫一生 提交于 2021-01-27 20:20:28
问题 We have an older WPF application that makes use of the "Windows API Code Pack" in order to show a Task Dialog (something that was introduced back in Vista but worked all the way through Windows 8). I'm now trying to run the project on Windows 10, and when I try to show the Task Dialog, I get the following exception: System.AccessViolationException : Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Microsoft.WindowsAPICodePack.Dialogs

C#: comctl32.dll version 6 in debugger

一笑奈何 提交于 2019-12-20 23:48:16
问题 I'm using the WindowsAPICodePack for TaskDialog. When I try to show the dialog it says that it needs to load version 6 of comctl32.dll. So I added version 6 to the app.manifest and tried running it. Still no luck. I went to the Debug folder and ran the program without Visual Studio and it works fine. I'm guessing that Visual Studio isn't using the manifest file... I was wondering if there was a way to make it do this. 回答1: Robpol86, your code is throwing SEHExceptions, because the signatures

TaskDialog change button language

╄→гoц情女王★ 提交于 2019-12-11 13:17:22
问题 I use the Vista TaskDialog Wrapper and Emulator for WindowsForms. It works fine, but how can I change the language of the buttons? 回答1: I have reasons to think change language of common buttons is NOT possible. (Common buttons are treated in special way and also return special results, please see TASKDIALOGCONFIG structure. There is no option provided for language change.) So if you are speaking about change of language of common buttons Yes , No , OK , Cancel , Retry , Close , then text on

C#: comctl32.dll version 6 in debugger

无人久伴 提交于 2019-12-03 07:14:05
I'm using the WindowsAPICodePack for TaskDialog. When I try to show the dialog it says that it needs to load version 6 of comctl32.dll. So I added version 6 to the app.manifest and tried running it. Still no luck. I went to the Debug folder and ran the program without Visual Studio and it works fine. I'm guessing that Visual Studio isn't using the manifest file... I was wondering if there was a way to make it do this. Robpol86, your code is throwing SEHExceptions, because the signatures for ActivateActCtx and DeactivateActCtx are not correct. You have to use UIntPtr instead of uint for the

calling TaskDialogIndirect loader says ordinal 345 not found

此生再无相见时 提交于 2019-12-02 13:18:34
问题 I built the simple MS example for TaskDialogIndirect (see https://msdn.microsoft.com/en-us/library/windows/desktop/bb760544(v=vs.85).aspx) When I run it I get "The ordinal 345 could not be located in the dynamic link library COMCTL32.dll" The above page says it needs ComCtl32.DLL version 6 but C:\Windows\System32\ComCtl32.DLL is 5.82.7601.18201 and I can't find a version 6 anywhere on the disk. I am running Windows 7 with VS2012. TaskDialog was added in Vista so why don't I have the correct

calling TaskDialogIndirect loader says ordinal 345 not found

谁说胖子不能爱 提交于 2019-12-02 05:14:23
I built the simple MS example for TaskDialogIndirect (see https://msdn.microsoft.com/en-us/library/windows/desktop/bb760544(v=vs.85).aspx ) When I run it I get "The ordinal 345 could not be located in the dynamic link library COMCTL32.dll" The above page says it needs ComCtl32.DLL version 6 but C:\Windows\System32\ComCtl32.DLL is 5.82.7601.18201 and I can't find a version 6 anywhere on the disk. I am running Windows 7 with VS2012. TaskDialog was added in Vista so why don't I have the correct version of ComCtl32.DLL??? Here's a common and useful block of code that should help to load the