> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Irwin Scollar
> Sent: Thursday, 17 August 2006 1:39 a.m.
> To: [email protected]
> Subject: Windows Vista Problems
> 
...
> Unfortunately, the xml content in appname.exe.manifest is 
> read before the main FormCreate, so the first time a program 
> is run under Vista, it still has the XP theme error in the 
> appearance of the buttons. On the next run, the file has been 
> renamed and the xml doesn't run, so all is well. The same 
> problem re-occurs in reverse if one returns to XP after 
> having run under Vista without re-installation.
> 
> I can put all this detection and changing into a setup.dll 
> run by the installation program since I use one which offers 
> that ability, but it would be neater  if there is a way to do 
> this in the app itself in order to avoid re-installation if 
> one has a mult-boot machine.
> 
> Is there a way to do all this **before** the xml in 
> appname.exe.manifest  runs and before FormCreate does 
> something in order to avoid having to run the program twice 
> to get the correct appearance under Vista or when returning to XP?
> 
> Irwin Scollar 
> 
> ___________

Create a helper app that checks for the existance of the manifest and the 
windows version.  It can rename the manifest as requried and then call the main 
app.  

Regards

Sean
-----------------------------
Sean Cross
Systems Development

Catalyst Risk Management
PO Box 230
Napier
Phone:   06 834 0362
Mobile:  021 270 3466
Visit us at http://www.crm.co.nz/

Offices in Auckland, Napier, Wellington & Christchurch

Disclaimer:
"The information contained in this document is confidential to the addressee(s) 
and may be legally privileged. Any view or opinions expressed are those of the 
author and may not be those of CRM. No guarantee or representation is made that 
this communication is free of errors, viruses or interference. If you have 
received this e-mail message in error please delete it and notify me. Thank 
you." 
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to