flat assembler
Message board for the users of flat assembler.
Index
> Windows > How to enable xp styles... |
What is this? | |||||||||||||||||||||
|
|||||||||||||||||||||
Total Votes : 24 |
Author |
|
marciano 19 Mar 2005, 01:34
With that code can I make the buttons to use the current XP style? That's great, I was looking for it
|
|||
19 Mar 2005, 01:34 |
|
UCM 19 Mar 2005, 16:23
Thanks, I was trying to find how to do this...
|
|||
19 Mar 2005, 16:23 |
|
S.T.A.S. 20 Mar 2005, 11:09
MSDN wrote: To create a manifest and enable your application to use visual styles: |
|||
20 Mar 2005, 11:09 |
|
UCM 16 Aug 2005, 19:31
By the way, the macro 'fileres' is missing from FASM 1.64, as far as I can tell. You'll have to copy it from an earlier version. I got it from v 1.61, its right here:
Code: macro fileres label,file_name { local data,size label dd RVA data,size,0,0 data = $ file file_name size = $ - data align 4 } Just copy it into INCLUDE\MACROS\RESOURCE.INC, and it'll work. _________________ This calls for... Ultra CRUNCHY Man! Ta da!! *crunch* |
|||
16 Aug 2005, 19:31 |
|
Tomasz Grysztar 16 Aug 2005, 19:40
It has been replaced with the more universal "resdata" macro, see the updated manual, here's the example taken directly from it:
Code: resdata manifest
file 'manifest.xml'
endres Since the resource macros were not documented earlier, I decided to improve some of the solutions before I finally documented them. |
|||
16 Aug 2005, 19:40 |
|
UCM 17 Aug 2005, 00:14
Ok, thanks. I tend not to read manuals. hehe
Ok, so the updated code would be: Code: directory 24,manifest resource manifest,\ 1,LANG_NEUTRAL,man resdata man file 'man.xml' endres I've tested this to work. _________________ This calls for... Ultra CRUNCHY Man! Ta da!! *crunch* |
|||
17 Aug 2005, 00:14 |
|
Tomasz Grysztar 17 Aug 2005, 09:33
UCM wrote: Ok, thanks. I tend not to read manuals. hehe Don't worry, it's actually quite common. It reminds me this book: http://www.joelonsoftware.com/uibook/chapters/fog0000000062.html Joel Spolsky wrote: Users Don't Read the Manual. |
|||
17 Aug 2005, 09:33 |
|
UCM 17 Aug 2005, 13:04
Hey, I know that already! I've read that before (it was linked to in some other topic).
Btw, a better way to code that now would probably be: Code: directory 24,manifest resource manifest,\ 1,LANG_NEUTRAL,man resdata man db '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>',13,10 db '<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">',13,10 db '<assemblyIdentity name="x.x.x" processorArchitecture="x86" version="5.1.0.0" type="win32"/> ',13,10 db '<description>no</description>',13,10 db '<dependency>',13,10 db '<dependentAssembly>',13,10 db '<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="x86" publicKeyToken="6595b64144ccf1df" language="*" />',13,10 db '</dependentAssembly>',13,10 db '</dependency>',13,10 db '</assembly>',13,10 endres that would reduce the file clutter. Plus, a PE file hacker (or someone using Resource Hacker) would get more annoyed due to the long lines. _________________ This calls for... Ultra CRUNCHY Man! Ta da!! *crunch* |
|||
17 Aug 2005, 13:04 |
|
Raedwulf 18 Aug 2005, 06:12
hehe----nice article:D Tomasz
|
|||
18 Aug 2005, 06:12 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.