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. How do you get Vc6 apps to look themed in Vc8?

How do you get Vc6 apps to look themed in Vc8?

Scheduled Pinned Locked Moved C / C++ / MFC
comhelpquestion
6 Posts 3 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.
  • S Offline
    S Offline
    Swinefeaster
    wrote on last edited by
    #1

    I used to use a manifest file in the resources. But now with vc8, for the same app, I want it to get autogenerated (just like when you create a new project). Where's the setting that enables themes in the app and gets the right manifest to get generated? Please help... Thanks! swine [b]yte your digital photos with [ae]phid [p]hotokeeper - www.aephid.com.

    J 1 Reply Last reply
    0
    • S Swinefeaster

      I used to use a manifest file in the resources. But now with vc8, for the same app, I want it to get autogenerated (just like when you create a new project). Where's the setting that enables themes in the app and gets the right manifest to get generated? Please help... Thanks! swine [b]yte your digital photos with [ae]phid [p]hotokeeper - www.aephid.com.

      J Offline
      J Offline
      Jack Puppy
      wrote on last edited by
      #2

      I had the same trouble migrating from vc71. The first thing you need to do is remove your old manifest file from the resources. Secondly, you need to add a small snippet of code to your vc6 project that exists in new vc8 projects, but is missing from migrated projects. Create a new vc8 mfc project - at the bottom of the stdafx.h file, you'll see something like this: ... #ifdef _UNICODE ... #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") ... #endif Copy the entire #ifdef block to the stdafx.h file of your old project and it should remedy the problem. "My dog worries about the economy. Alpo is up to 99 cents a can. That's almost seven dollars in dog money" - Wacky humour found in a business magazine

      S 1 Reply Last reply
      0
      • J Jack Puppy

        I had the same trouble migrating from vc71. The first thing you need to do is remove your old manifest file from the resources. Secondly, you need to add a small snippet of code to your vc6 project that exists in new vc8 projects, but is missing from migrated projects. Create a new vc8 mfc project - at the bottom of the stdafx.h file, you'll see something like this: ... #ifdef _UNICODE ... #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") ... #endif Copy the entire #ifdef block to the stdafx.h file of your old project and it should remedy the problem. "My dog worries about the economy. Alpo is up to 99 cents a can. That's almost seven dollars in dog money" - Wacky humour found in a business magazine

        S Offline
        S Offline
        Swinefeaster
        wrote on last edited by
        #3

        ok i did that, and did a rebuild all, but it still doesn't work... anything else? thanks [b]yte your digital photos with [ae]phid [p]hotokeeper - www.aephid.com.

        J P 2 Replies Last reply
        0
        • S Swinefeaster

          ok i did that, and did a rebuild all, but it still doesn't work... anything else? thanks [b]yte your digital photos with [ae]phid [p]hotokeeper - www.aephid.com.

          J Offline
          J Offline
          Jack Puppy
          wrote on last edited by
          #4

          Strange, it worked for me and a handful of others I've talked to. I wonder if there's a setting that doesn't get updated from VC6 to 2005 that does with 2003 to 2005. I would just create a simple VS 2005 project, and verify that the Linker -> Manifest File and Manifest Tool settings match that of your updated project. If they're the same, and you still can't get it to work, I'd try posting something to the MSDN forums: http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=8&SiteID=1 "My dog worries about the economy. Alpo is up to 99 cents a can. That's almost seven dollars in dog money" - Wacky humour found in a business magazine

          1 Reply Last reply
          0
          • S Swinefeaster

            ok i did that, and did a rebuild all, but it still doesn't work... anything else? thanks [b]yte your digital photos with [ae]phid [p]hotokeeper - www.aephid.com.

            P Offline
            P Offline
            Prakash Nadar
            wrote on last edited by
            #5

            Try removing the #ifdef _UNICODE .... #endif block


            -Prakash

            S 1 Reply Last reply
            0
            • P Prakash Nadar

              Try removing the #ifdef _UNICODE .... #endif block


              -Prakash

              S Offline
              S Offline
              Swinefeaster
              wrote on last edited by
              #6

              Brilliant! That did it.... Thanks :) [b]yte your digital photos with [ae]phid [p]hotokeeper - www.aephid.com.

              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