I open file:
Code: Select all
FH:=CreateFile(PChar(strFileName), GENERIC_READ, FILE_SHARE_READ,nil, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0);
FM:=CreateFileMapping(fh, nil, PAGE_READONLY, 0, 0, nil);
FP:=MapViewOfFile(fm, FILE_MAP_READ, 0, 0, 0);
Code: Select all
8371b200 call dword ptr [$402058]
8371b206 cmp eax, 1
8371b209 jz +$36 ($8371b241)
8371b20b push 0
8371b20d call +5 ($8371b217)
8371b212 push esp
8371b213 jnb +$74 ($8371b28a)
how I must open file?
And last...
That about
I load map file, but nothing changes =\Please note that madDisAsm can list the Delphi internal function names only if the madMapFile unit is part of the project. Without that madDisAsm can only show the names of exported functions.
What I do wrong?
P.S. sorry for my English =)