flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Windows > How does fasm IDE get compiler result ? | 
  
| Author | 
  | 
              
| 
                  
                   eskizo 09 Nov 2006, 13:15 
                  I would like to know how those win32 processes get the output from 32/16 bits console programs, just like fasm IDE does with fasm console compiler. 
                 | 
              |||
                  
  | 
              
| 
                  
                   vid 09 Nov 2006, 13:48 
                  FASMW and Fresh both use tweaked version of FASM.
 
                But to do this, you just need to redirect stdout to yourself.  | 
              |||
                  
  | 
              
| 
                  
                   eskizo 09 Nov 2006, 14:08 
                  thankyou vid,
 
                but how can stdout point out 2 processes at the same time ? Was it defined in console program or fasm IDE ?  | 
              |||
                  
  | 
              
| 
                  
                   vid 09 Nov 2006, 15:30 
                  you must create "pipe" and run FASM from your process. not really sure how, look for some SetStdHandle and CreatePipe etc... 
                 | 
              |||
                  
  | 
              
| 
                  
                   Tomasz Grysztar 10 Nov 2006, 08:33 
                  Before FASMW there was an IDE for fasm called Assembly Workplace, which used external FASM through the pipe. However it seems I have lost its sources... Also internet archive doesn't have them... Too bad. 
                 | 
              |||
                  
  | 
              
| 
                  
                   shoorick 10 Nov 2006, 10:17 
                  here function used in FASM Add-In for WinAsm Studio. you can update it for your purposes. 
        
 _________________ UNICODE forever!  | 
              |||||||||||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.