|
Hi, I have a VB.NET application that runs from a Sub Main and then loads some Windows Forms. I need to show a TaskDialog in some cases before forms are loaded, but doing so I get an EntryPointNotFoundException on TaskDialog function. I read that the problem is due to the wrong comctl32.dll version loaded. I already have Application.EnableVisualStyles() at the beginning of Sub Main, and I noticed that if a Form is loaded before TaskDialog is invoked it is shown correctly, but if it is invoked before loading any form, the EntryPointNotFoundExceptionis thrown. Is there a neat way to force the program to load comctl32.dll v6 from the beginning? |