Many thanks.
Posted on 2003-06-28 07:14:26 by Vortex
Version 3.11

Now,the scanner creates import scripts with decorated names for use with MS Link.
The scanner counts the parameters of the invoked API functions and generates the decorated
external names.Note that the scanner doesn't do any checking for the parameter numbers.

Direct call:

extrn '__imp__MessageBoxA@16' as MessageBox:dword

Indirect call:

extrn '_MessageBoxA@16' as MessageBox

For the indirect call,you need to use a modified version of which can be
found in the attachment.

You can specify full paths in scan.ini
Thanks Inskipp for the bug report.

The examples in the attachment are built for:
a)Fasm without any linker
b)Fasm+MS Link (direct/indirect call)

Friends who are interested in using Fasm+MS Link with undecorated names can have
a look at:
Posted on 2003-07-09 03:55:46 by Vortex
I just ran into this problem:
I ran scan.exe with the same settings that worked fine before I added some code (inlcuding an invoke to InitCommonControls), as I ran scan.exe, I got this error:
(Line 166) Undefined function InitCommonControls

But I've double checked, tripple checked, cut 'n' pasted the "InitCommonControls" from working sources, but still the same error, and when I cut that line (commenting itout isn't enought) out I get this error:
(Line 193) Undefined function CreateFontIndirect

The scan.ini contains these lines:


And the version I'm using is 3.11.
Posted on 2003-07-15 11:02:29 by scientica

Can you send your source code that I can reproduce the error?
It's funny,I tried these two functions in my test source code and I had no problem.


Posted on 2003-07-16 04:28:42 by Vortex
Ok, I e-mailed you them :) (to save me from the public embarrasment if the error is some where in my sources, not yours ;))
Posted on 2003-07-16 06:56:08 by scientica

Thank you for reporting me the bug,I fixed it. :)

Version 3.12

Now,you can redirect the message output of the scanner to a text file:

scan sample.asm -f2 >msg.txt
Posted on 2003-07-16 07:55:45 by Vortex