Author Topic: rev 9137 causes C::B to use common controls 6.0.0  (Read 11357 times)

Offline golgepapaz

  • Multiple posting newcomer
  • *
  • Posts: 44
rev 9137 causes C::B to use common controls 6.0.0
« on: June 14, 2013, 09:25:06 am »
Manifest files introduced with the change makes C::B use common controls 6.0.0 (probably)
it looks ugly.To be sure I've checked it with the latest nightly build 9156 http://forums.codeblocks.org/index.php/topic,18034.0.html

How did this go unnoticed or is it just me?

Screenshots
pre 9137



after 9137




Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: rev 9137 causes C::B to use common controls 6.0.0
« Reply #1 on: June 14, 2013, 10:37:54 am »
...confirmed. I'll look into it. The actual idea was to be natively compatible with Windows 7/8.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: rev 9137 causes C::B to use common controls 6.0.0
« Reply #2 on: June 16, 2013, 10:36:12 am »
...confirmed. I'll look into it. The actual idea was to be natively compatible with Windows 7/8.
Just a quick note: Its not as easy as it seems. Usually this really should work - it works just fine in several other applications. So the manifest/resource file is not the issue. I'm afraid one of our hacks (maybe the one to achieve debugging privileges on Windows) screws it. It was wrong all the time, just it becomes visual now.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: rev 9137 causes C::B to use common controls 6.0.0
« Reply #3 on: June 16, 2013, 02:47:17 pm »
Following lines are commented in resource.rc file (see line no 65 onwards).
Code
/*
  #if defined(WX_CPU_AMD64)
    wxMANIFEST_ID RT_MANIFEST "amd64.manifest"
  #elif defined(WX_CPU_IA64)
    wxMANIFEST_ID RT_MANIFEST "ia64.manifest"
  #elif defined(WX_CPU_X86)
    wxMANIFEST_ID RT_MANIFEST "x86.manifest"
  #else
    #warning No platform defined! Unable to embed manifest file.
  #endif
*/

As a result no manifest file is being embedded in codeblocks.exe file.
Be a part of the solution, not a part of the problem.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: rev 9137 causes C::B to use common controls 6.0.0
« Reply #4 on: June 16, 2013, 06:03:27 pm »
As a result no manifest file is being embedded in codeblocks.exe file.
Yes, I've seen this meanwhile (I wasn't looking at the resource file in the first place, just at the manifest files). It was commented because it was wrong. I've fixed it properly in SVN head now.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ