flat assembler
Message board for the users of flat assembler.

Index > Main > includes for windows

Thread Post new topic Reply to topic

Joined: 21 Jun 2003
Posts: 107
Location: hel.fi
aaro 06 May 2004, 00:44
some c headers converted for fasm. and imports for some dlls.
here's macros that you need for these:
macro _union_declare_data [arg] {

macro union [arg] {
  local ..union_addr, peak
  peak = $

  virtual at ..union_addr
    _union_declare_data arg
    if $ > peak
      peak = $
    end if
  end virtual

  rb peak - $

macro switch var {
  macro case val _%
    macro var ¤ val

  macro endswitch _%
    purge var#var

  default fix case var
  macro var#var _% %_

anymore headers you would like to be converted? more dlls that need imports?

Sorry for so lame post, i was tired when wrote that. Here's list of .h files that has been converted:

    commctrl.h, commdlg.h, gl.h, glu.h, guiddef.h, odbcinst.h, odbcss.h, oleauto.h, qos.h, richedit.h, shellapi.h, sql.h, sqlext.h, sqltypes.h, sqlucode.h, winbase.h, windef.h, winerror.h, wingdi.h, wininet.h, winioctl.h, winnetwk.h, winnls32.h, winnt.h, winperf.h, winreg.h, winsock2.h, winspool.h, winsvc.h, winuser.h, wtypes.h

Imports(and parameter numbers) are for these dlls:

    kernel32, user32, gdi32, comctl32, comdlg32, shell32, ws2_32, opengl32, glu32, odbc32, odbccp32, wininet, mpr, advapi32, winspool, oleaut32

There are equates, structures and imports for both ansi and unicode. You can change witch one to use by typing 'CHARSET fix ANSI' or 'CHARSET fix UNICODE' before including these files.

These need to be BEFORE switch macro:
¤ fix _¤
_¤ fix __¤
__¤ fix #

_% fix !%
!% fix {

%_ fix %!
%! fix }


Could someone move this to windows forum? Don't know why i posted this in main..

Filename: incs.zip
Filesize: 209.08 KB
Downloaded: 586 Time(s)

Post 06 May 2004, 00:44
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.