flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Windows > MASM to FASM | 
  
| Author | 
  | 
              
| 
                  
                   JohnFound 29 May 2014, 19:04 
                  Code: mov ecx, [lParam] mov eax, [ecx+NMHDR.code] mov [ecx+TOOLTIPTEXT.lpszText], eax  | 
              |||
                  
  | 
              
| 
                  
                   clamicun 30 May 2014, 11:07 
                  Dear JohnFound,
 
                  
                thank you very much for the answer. Could you please give me some further info on what: xxx.code actually does mean?  | 
              |||
                  
  | 
              
| 
                  
                   JohnFound 30 May 2014, 11:23 
                  clamicun wrote: Could you please give me some further info on what: xxx.code actually does mean? Do you mean for example NMHDR.code? It is simply a label, defined by struct macro. It consists of "main" label "NMHDR" and a "sublabel" (or local label) "code" separated by dot. The value of this label is actually the offset of the field "code" inside the data structure NMHDR. Particularly, NMHDR.code = 8; TOOLTIPTEXT.lpszText = 12; ECX points to the start of the data structure. _________________ Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9  | 
              |||
                  
  | 
              
| 
                  
                   clamicun 30 May 2014, 17:15 
                  Again thank you very much.
 
                  
                I get it now; the MASM file is full of those xxx.code constructions. Have a good weekend down there at the black sea.  | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.