Manifest for MFC DLL
-
Hello, I want to implement XP Visual Styles for a MFC DLL. I've read many infos about it in the web but I have still problems. So what I have done: resource.h #define MANIFEST_RESOURCE_ID 2 I imported a new resource with the type 24 as MANIFEST_RESOURCE_ID. So the .rc file looks like: MANIFEST_RESOURCE_ID 24 MOVEABLE PURE "res\\MyDlgDll.dll.manifest" stdafx.h #define ISOLATION_AWARE_ENABLED 1 compiler otion: /D "ISOLATION_AWARE_ENABLED" When I build the project with VC8 it works fine: The main application can have the visual styles disabled while the DLL always uses XP styles. But I must build the DLL with VC6 and this doesn't work. I have installed the newest Microsoft Platform SDK for Windows Server 2003 R2 where I can see in commctrl.h the #if def section for the ISOLATION_AWARE_ENABLED stuff. I have adjusted the VC6 path to the new include dirc of the platform SDK. But I still use the old VC6 libs because the plaform SDK has no X86 builds of the LIBs. Maybe the problem is the linking of my dll fo mfc42? (When I comile with VC8 the dll is linked mfc80). Can someone help me? THX