Problems with Delphi's XP Theme Manager

From: Brandon (goto_at_website.insig.foremail)
Date: 12/16/04


Date: Wed, 15 Dec 2004 20:04:01 -0600

I'm trying to move a project from Delphi 6 to Delphi 2005. I now have no
problems compiling, and the program works as it should --- except for one
thing.

When I compile the project with D6, using a .Manifest file, the program
works perfectly fine with XP Themes and is responsive and snappy.

But, when I compile the project with D2005, the program works and is
functional, but is dog slow. Resizing the display is ridiculously slow, and
installation takes considerably longer. If I remove the XPMan unit, it
works perfectly fine, but doesn't look modern because of lack of themes
support.

There is no difference between using the XPMan unit or a .Manifest file --
in either case, the program becomes exceedingly sluggish.

First, I am wondering how I can determine what is causing the slowness with
XP Themes.

Second, as an alternate option, I want to know if there is a way to disable
the Delphi theme manager entirely in my application. I know that a theme
manager was added for Delphi 7 -- in fact, I had the same problems with D7
so stayed with D6 for this project. But just not including the XPMan unit
isn't enough; obviously Delphi compiles theme support in anyway. Is there
any way to just make D2005 compile the application the same way D6 did as
far as XP themes go?

Thanks for any help.

-- 
Brandon Staggs
http://www.brandonstaggs.com 


Relevant Pages

  • A funny yet crazy extreme test on Delphi 7 compiler
    ... See how Delphi compiles very huge source file! ... I use the command line tool dcc32 to ... A project with a major source file names TestCase.pas. ... Delphi can compile crazy functions with 999 parameters. ...
    (borland.public.delphi.non-technical)
  • Re: I really hate .NET especially inside Delphi
    ... Delphi.NET terms this is a package (yeah, yeah, I don't know why ... a BPL it will compile to a dll, ... Mainly because I couldn't get the output as I wanted it to be and I simply got used to the ease of namespaces and multi pass compiling in the time before Delphi learned .Net. ...
    (borland.public.delphi.non-technical)
  • Re: 64-bit Windows for AMD 64 is here...
    ... Indeed, but with no decent Win64 support in Delphi, only ... Pure waste of time and money IMHO, and I don't really buy the argument ... Yep, I can also compile a compiler with Delphi, and compile what I wish ...
    (borland.public.delphi.non-technical)
  • Re: Critical article on Borland and Free Pascal
    ... So does that compiler produce some kind of 64-bit Windows application, ... I do not know what are Borland's last statements about the coming Delphi ... > Borland embarked on a kamikaze mission after Delphi 5. ... > Testing had hardly been done at all, so when people tried to compile ...
    (comp.lang.pascal.delphi.misc)
  • Win32, Linux, .NET >> Where is this mess going to?
    ... how many Delphi developers are thinking about moving to M$ ... Visual Studio and C# rather then staying with Borland Delphi 2005? ... looks like Borland is doing more work for M$ then for their own products. ... but it could ONLY compile Win32 applications. ...
    (borland.public.delphi.thirdpartytools.general)