EntryPointNotFoundException when using TaskDialog in C#.
Posted
by horsedrowner
on Stack Overflow
See other posts from Stack Overflow
or by horsedrowner
Published on 2009-10-23T09:34:22Z
Indexed on
2010/06/14
19:02 UTC
Read the original article
Hit count: 217
I'm using the following code to call a TaskDialog.
[DllImport("ComCtl32", CharSet = CharSet.Unicode, PreserveSig = false)]
internal static extern void TaskDialogIndirect(
[In] ref TASKDIALOGCONFIG pTaskConfig,
[Out] out int pnButton,
[Out] out int pnRadioButton,
[Out] out bool pfVerificationFlagChecked);
However, I get the exception "Unable to find an entry point named 'TaskDialogIndirect' in DLL 'ComCtl32'."
I took this code. I am using Windows 7 x64 (RC).
What am I doing wrong?
© Stack Overflow or respective owner