Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Manifest for MFC DLL

Manifest for MFC DLL

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++wpfsysadminwindows-admin
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    madmax0001
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups