Hi ,In VS 8.0 by default it will add manifest dependecy macro. but in VS 6.0 it's not there so that's why it is working. So our code should have to work on both 6.0 and 8.0.
Above i've posted code is working in VS 6.0 properly. But not in VS 8.0. The reason is that manifest dependency.
u can find manifest dependecy in stdafx.h
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='22.214.171.124' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
can u try it how to solve the problem.