title: Vista TaskDialog Wrapper: Unable to find an entry point named 'TaskDialogIndirect' in DLL 'ComCtl32'
body: <p>I'm try to use <a href="http://www.codeproject.com/Articles/21276/Vista-TaskDialog-Wrapper-and-Emulator?msg=4134951#xx4134951xx" rel="nofollow">Vista TaskDialog Wrapper and Emulator</a> and I'm getting the following exception:</p>
  
  <p>"Unable to find an entry point named 'TaskDialogIndirect' in DLL 'ComCtl32'."</p>
  
  <p>...in a simple Console application:</p>
  
  <pre><code>class Program
  {
      [STAThread]
      static void Main(string[] args)
      {
          System.Threading.Thread.CurrentThread.CurrentUICulture = System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
  
          PSTaskDialog.cTaskDialog.MessageBox(
              "MessageBox Title",
              "The main instruction text for the message box is shown here.",
              "The content text for the message box is shown here and the text willautomatically wrap as needed.",
              PSTaskDialog.eTaskDialogButtons.YesNo,
              PSTaskDialog.eSysIcons.Information
          );
       }
  }
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>UPDATE:</p>
  
  <p>Actually, I'm working on an Excel plugin using excel-dna. How can I control what dll Excel loads?</p>
  
  <p><a href="http://exceldna.codeplex.com/discussions/286990#post728888" rel="nofollow">http://exceldna.codeplex.com/discussions/286990#post728888</a></p>