tgm.arjun09's Avatar
Light Poster
Hi ,
Above i've posted code is working in VS 6.0 properly. But not in VS 8.0. The reason is that manifest dependency.
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.

u can find manifest dependecy in stdafx.h
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")

can u try it how to solve the problem.

shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
My code is working in VS 8.0 as I have no VS 6 now
tgm.arjun09's Avatar
Light Poster
Hi,
I meant to say that my code is working in VS 6.0 but not in VS 8.0.
In VS 8.0 stdafx.h one directive is added.
#pragmacomment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")

If i comment this in stdafx.h my code is working in VS 8.0 also.

So what i have to do??

shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Comment that.