Pelles C forum

Assembly language => Assembly discussions => Topic started by: HellOfMice on December 06, 2024, 02:34:40 AM

Title: Adding an About Box
Post by: HellOfMice on December 06, 2024, 02:34:40 AM
It is not too difficult. Just look
                            .Data

szAppName                   BYTE    "Application Title",0

                            ALIGN   4

szOtherStuff                BYTE    "Philippe RIO",10,13,"Mathenay, France",0   ; It's me

                            ALIGN   4
;   ===========================================================================================
;   ===========================================================================================
                            ALIGN   16
@About :
                            mov     rdx,OFFSET szAppName
                            mov     r8,OFFSET szOtherStuff
                            xor     r9d,r9d
                            mov     rax,OFFSET @Eoj
                            push    rax
                            jmp     ShellAboutA
;   ===========================================================================================
;   ===========================================================================================
                            ALIGN   16
@Eoj :


I hate this editor!
Title: Re: Adding an About Box
Post by: Vortex on December 12, 2024, 07:20:10 PM
Hi Philippe,

A traditional message box can do the job too.