include d:\masm32\include\windows.inc
include d:\masm32\include\user32.inc
include d:\masm32\include\comdlg32.inc
include d:\masm32\include\kernel32.inc
include d:\masm32\include\comctl32.inc
.data
szFileName db 260 dup(0)
ofn OPENFILENAME <>
lpStrFilter db "PE Files",0,"*.exe;*.dll",0
db "WDM Files",0,"*.sys",0,0
zTit db "Hume's PE checkSum 计算器,2K2",0
initial_dir db ".",0
ms000 db "File OPERATION ERR!",0
fmt db "The PE-CheckSum of Current file IS:%X",0
buf db 256 dup(0)
.386
.model flat, stdcall
option casemap :none
m2m macro M1, M2
push M2
pop M1
endm
include d:\masm32\include\windows.inc
include d:\masm32\include\user32.inc
include d:\masm32\include\comdlg32.inc
include d:\masm32\include\kernel32.inc
include d:\masm32\include\comctl32.inc
.data
szFileName db 260 dup(0)
ofn OPENFILENAME <>
lpStrFilter db "PE Files",0,"*.exe;*.dll",0
db "WDM Files",0,"*.sys",0,0
zTit db "Hume's PE checkSum 计算器,2K2",0
initial_dir db ".",0
ms000 db "File OPERATION ERR!",0
fmt db "The PE-CheckSum of Current file IS:%8x",0
buf db 256 dup(0)