We have a specific Vista x64 machine that when launching our C # WinForms application displays the following error:
System.EntryPointNotFoundException: Could not find an entry point named 'TaskDialogIndirect' in the DLL 'COMCTL32'.
The same code works fine on other Vista machines. For some reason, this particular Vista machine always throws this exception.
How can we fix this?
Naughter free XTaskDialog API, Windows XP , .:)
, .
, , , ( Visual Studio):
4:
<dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> </dependency>
comctl32.dll Vista , .
:
.
, , Vista x86, , PInvoke, . x86, WoW64 x64 Vista. Visual Studio - . , .NET- 64- x64 CLR. Attemptiong 32- DLL . , x86, .
ClickOnce.
The only thing that worked was the solution: http://support.microsoft.com/kb/830033