Light Poster
12Mar2009,10:23   #11
tgm.arjun09's Avatar
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.

Go4Expert Founder
12Mar2009,11:53   #12
shabbir's Avatar
My code is working in VS 8.0 as I have no VS 6 now
Light Poster
13Mar2009,11:52   #13
tgm.arjun09's Avatar
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??

Go4Expert Founder
13Mar2009,13:41   #14
shabbir's Avatar
Comment that.