Page 1 of 1

Problem with sample

Posted: 29 Nov 2007, 07:30
by godeny
Hello TiKu,

i am trying to start the Collapsible Frame sample on a Windows XP Professional with SP2.

The exe runs correctly.

When i start it in the IDE, i get a message: "This sample requires version 6.0 or newer of comctl.dll" .

How is it possible ? Are the exe and the IDE not using the same dll-s ?

Zoltan

Posted: 29 Nov 2007, 10:40
by TiKu
You may have noticed the file CollapsibleFrame.exe.manifest. The manifest file tells Windows XP and Vista to load version 6.x of comctl32.dll. Without the manifest file version 5.8x is loaded which is too old (and doesn't support theming).
To make the sample work in the IDE, you must place a VB6.exe.manifest in the folder that contains VB6.exe. You may take the manifest file from the sample and rename it.