views:

782

answers:

4

Hi all,

how I can enable using visual themes for Delphi 7 IDE on Windows 7? For Windows XP I made file delphi32.exe.manifest, but for Windows 7 it does not work.

I mean Delphi 7 enviroment and development. My programs are OK.

Thank you, Pavel

A: 

Does it help if you drop a XPManifest control on the mainform?

birger
I mean Delphi 7 enviroment and development. My programs are OK.
Pavel
A: 

You should compile the manifest as resource inside of the executable.

r4w8173
How do you recompile the Delphi IDE (unless you work for Embarcadero)?
Ken White
Welcome r4w8173, the question was specifically how to get the IDE to theme correctly in windows 7, not an executable compiled within the IDE.
skamradt
actually I have successfully put the manifest inside the Delphi32.exe with a resource editor :).that said I must add that it is not very useful thing to do since all the lists and tool images got the same boring delphi 7 style.
r4w8173
A: 

You should never include any manifest for the Delphi IDE executable file. This will trigger errors during the execution process of you apps (mainly if you use TImageList component). So use the old "Win NT" layout of the IDE. It's enough. In order to work with Windows 7, two steps to be performed: 1. Make the "Borland" or "Borland\Delphi" folder accessible to all users as WRITE from its properties (and sub folders, of course) 2. Install the old Windows Help and some Delphi 7 IDE enhancements, as I stated in http://blog.synopse.info/post/2010/01/01/Some

Arnaud
Yes, It is very usefull. But I miss "new look" with themes for designing. In WinXP it works fine.
Pavel
About ImageList crash: http://stackoverflow.com/questions/1074857/image-list-loading-fails-on-delphi-6-and-vista-service-pack-2
Pavel
From what I've read in other places, the issues with adding a manifest to the IDE were sorted from Delphi 7.
_J_
A: 

If you're using separate .menifest file - then identify section of manifest should match your exe file. If you got it wrong - the manifest will be ignored. Identity section is ignored, if manifest is compiled into executable. So, if you can't get it working - add it as resource, not as file.

Why it works in XP? Don't know. May be W7 have more strict checks than WXP or something similar.

But I don't think that applying a manifest to D7 is a good idea. Why don't you use D2007 or D2010? Let D7 rest in peace, really.

Alexander
Because it is really huge project contains many applications.
Pavel