News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

How to read Windows MFT

Started by clamicun, September 17, 2017, 11:43:25 PM

Previous topic - Next topic

Siekmanski

QuoteYou obviously didn't check it.

I did. No errors here.


d:\RadASM2212\Masm\Projects\SDlezer engels\SD_lezer>SET FILE=SD_Lezer

d:\RadASM2212\Masm\Projects\SDlezer engels\SD_lezer>SET PATH=D:\masm32\bin\
Microsoft (R) Windows (R) Resource Compiler, Version 5.00.1823.1 - Build 1823
Copyright (C) Microsoft Corp. 1985-1998. All rights reserved.

Using codepage 1252 as default
Creating rsrc.RES
RC: RCPP -CP 1252 -f d:\RadASM2212\Masm\Projects\SDlezer engels\SD_lezer\RCa0802
8 -g d:\RadASM2212\Masm\Projects\SDlezer engels\SD_lezer\RDa08028 -DRC_INVOKED -
D_WIN32 -pc\:/ -E -I. -I .

rsrc.rc.
Writing DIALOG:1000,    lang:0x409,     size 1392.
Writing ICON:1, lang:0x409,     size 2216
Writing GROUP_ICON:102, lang:0x409,     size 20.
Writing 24:1,   lang:0x409,     size 533
Microsoft (R) Windows Resource To Object Converter Version 5.00.1736.1
Copyright (C) Microsoft Corp. 1992-1997. All rights reserved.

Microsoft (R) Macro Assembler Version 12.00.21005.1
Copyright (C) Microsoft Corporation.  All rights reserved.

Assembling: SD_Lezer.asm
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

Volume in drive D is DataSchijf
Volume Serial Number is 642F-B3AB

Directory of d:\RadASM2212\Masm\Projects\SDlezer engels\SD_lezer

27-09-2017  14:56            23.352 SD_Lezer.Asm
28-09-2017  05:40            15.360 SD_Lezer.exe
27-09-2017  21:51             1.032 SD_Lezer.rap
27-09-2017  17:41            20.090 SD_lezer.zip
               4 File(s)         59.834 bytes
               0 Dir(s)  2.620.570.652.672 bytes free

Creative coders use backward thinking techniques as a strategy.

clamicun

I do not understand,
I unzip SD_lezer.zip, correct the path in MAKE.BAT, run MAKE.BAT and get those 4 errors.

Line 429
.elseif
can't work

The other 3 errors are sprintf instead of wsprintf


aw27

You get stuck very easily.  :badgrin:

What about this sprintf equ <_imp__sprintf> ?

Siekmanski

You can try replacing this line "include \masm32\include\msvcrt.inc"
by this, "sprintf PROTO C :DWORD,:DWORD,:VARARG"
Creative coders use backward thinking techniques as a strategy.

clamicun

"You get stuck very easily"

ok.  I give up trying to understand it .
Thank you

LiaoMi

Hi,

I did not find ready-made implementations specifically for macro assembler, but in the attachment there is a very simple and interesting project with libraries that can be translated into a macro assembler without much effort.

Another interesting page - Master File Table Program Example 2: Reading and Dumping the Deleted Files - https://www.installsetupconfig.com/win32programming/windowsvolumeapis1_20.html