flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Windows > Can't get a simple dll to assemble | 
  
| Author | 
  | 
              
| 
                  
                   revolution 04 Sep 2019, 00:19 
                  You appear to be missing the .end.     
                  
                Code: format ...
;...
.end    But for a DLL to load you will need an export section also. See the example DLL in the fasm download.  | 
              |||
                  
  | 
              
| 
                  
                   cdgoldin 04 Sep 2019, 00:45 
                  I looked at the example, but I didn't understand it.  
                  
                Besides, how would a missing .end statement cause fasmw to complain about an undefined MessageBeep?  | 
              |||
                  
  | 
              
| 
                  
                   revolution 04 Sep 2019, 02:16 
                  .end is a macro defined by win32a?.inc. It will define all the import labels, which includes MessageBeep, for the import section. 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   guignol 04 Sep 2019, 07:54 
                  Mjolnir needs no imports. 
                  
                 | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.