flat assembler
Message board for the users of flat assembler.
Index
> Windows > How to get this new message box UI? |
Author |
|
revolution 09 Jun 2022, 13:18
You need a manifest in your exe to enable the newer window styles.
There are some old topics about it on this board. |
|||
09 Jun 2022, 13:18 |
|
revolution 09 Jun 2022, 13:24
|
|||
09 Jun 2022, 13:24 |
|
FlierMate1 09 Jun 2022, 13:45
Thank you!
Code: format PE GUI 4.0 entry start include 'win32a.inc' section '.data' readable writable title db 'FASM',0 message db 'Thank you Tomasz and revolution for making this possible!',0 section '.code' code readable writable executable start: push 0x40 push title push message push 0 call [MessageBox] push eax call [ExitProcess] section '.idata' import readable writable library kernel,'KERNEL32.DLL',\ user,'USER32.DLL' import kernel,\ ExitProcess,'ExitProcess' import user,\ MessageBox,'MessageBoxA' section '.rsrc' resource data readable directory 24,manifest resource manifest,\ 1, LANG_NEUTRAL, winxp resdata winxp ; file 'manifest.xml' 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',13,10 db 'version="1.0.0.0"',13,10 db 'processorArchitecture="X86"',13,10 db 'name="CompanyName.ProductName.Application"',13,10 db 'type="win32"',13,10 db '/>',13,10 db '<description>Your application description here.</description>',13,10 db '<dependency>',13,10 db '<dependentAssembly>',13,10 db '<assemblyIdentity',13,10 db 'type="win32"',13,10 db 'name="Microsoft.Windows.Common-Controls"',13,10 db 'version="6.0.0.0"',13,10 db 'processorArchitecture="X86"',13,10 db 'publicKeyToken="6595b64144ccf1df"',13,10 db 'language="*"',13,10 db '/>',13,10 db '</dependentAssembly>',13,10 db '</dependency>',13,10 db '</assembly>' endres
|
||||||||||
09 Jun 2022, 13:45 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.