flat assembler
Message board for the users of flat assembler.

Index > IDE Development > FASMW Only Show Compile Dialog on Error Mod

Author
Thread Post new topic Reply to topic
ordinate



Joined: 18 Dec 2007
Posts: 2
ordinate
FASMW.ASM around line 2400
Code:
proc SummaryDialog hwnd_dlg,msg,wparam,lparam
    push    ebx esi edi
 cmp     [msg],WM_INITDIALOG
 je      .initdialog
 cmp     [msg],WM_COMMAND
    je      .command
    cmp     [msg],WM_CLOSE
      je      .close
      xor     eax,eax
     jmp     .finish
  .initdialog:
       invoke  GlobalLock,[hmem_display]
   invoke  SetDlgItemText,[hwnd_dlg],ID_DISPLAY,eax
    invoke  GlobalUnlock,[hmem_display]
 invoke  GlobalFree,[hmem_display]
   cmp     [lparam],2
  je      .error_details
      cmp     [lparam],0
  jne     .error_message
      jmp   .close ; close if no error to show
    
Post 18 Dec 2007, 15:31
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.