How to add XML file to a Projet ?!

Started by DarK_m00n, July 05, 2005, 10:11:09 AM

Previous topic - Next topic

DarK_m00n

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 ?!


Mark Jones

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. :)
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

DarK_m00n

Yeah !  that work ! Thanks man
By d way  :naughty:  Em = mC2   :lol

KetilO

You could also use Project / Resource and add a MANIFEST resource.

KetilO

DarK_m00n