The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => RadAsm Support Forum => Topic started by: DarK_m00n on July 05, 2005, 10:11:09 AM

Title: How to add XML file to a Projet ?!
Post by: DarK_m00n on July 05, 2005, 10:11:09 AM
Hello every body !
I want to add some XP Effect to my small app . So i decided to include XML file ::
  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
- <dependency>
- <dependentAssembly>
  <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="x86" publicKeyToken="6595b64144ccf1df" />
  </dependentAssembly>
  </dependency>
  </assembly>


But i don't know how to do that with RadAsm  :(
Some one could help ?!

Title: Re: How to add XML file to a Projet ?!
Post by: Mark Jones on July 05, 2005, 04:26:51 PM
Just make the .xml file, put it in your \res folder, and add this line to your RC file:


1 24 "Res/xptheme.xml"          ; to enable XP theme


Don't forget you have to invoke comoncontrolls. :)
Title: Re: How to add XML file to a Projet ?!
Post by: DarK_m00n on July 05, 2005, 07:11:37 PM
Yeah !  that work ! Thanks man
By d way  :naughty:  Em = mC2   :lol
Title: Re: How to add XML file to a Projet ?!
Post by: KetilO on July 05, 2005, 09:04:17 PM
You could also use Project / Resource and add a MANIFEST resource.

KetilO
Title: Re: How to add XML file to a Projet ?!
Post by: DarK_m00n on July 06, 2005, 10:14:35 AM
Negative KetilO
it didn't work !