This 2005 is a little dated.
I am trying to set some file attributes for the log file and am not sure how.
It doesn't set the file name like I am used to.


pushz "ab" ; append in binary mode
pushz "KLog.txt" ; name of log file
call fopen
  add esp, 2*4 ; all c lib functions need fixup..
mov , eax ; save our file number
      int  3

;invoke SetFileAttributes, offset File1,FILE_ATTRIBUTE_NORMAL

Posted on 2010-04-25 19:21:40 by skywalker