News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

DLL to Solar Assembler include file converter

Started by Vortex, April 24, 2008, 08:44:30 PM

Previous topic - Next topic

Vortex

Here is the first version of my tool dll2solinc. This tiny tool creates include files from DLLs for SolAsm. The include files are generated to be used with SolAsm's PE32 file output capacity.

An example :

dll2solinc user32.dll

import_dll user32.dll

import_func ActivateKeyboardLayout
import_func AdjustWindowRect
import_func AdjustWindowRectEx
import_func AlignRects
import_func AllowForegroundActivation
.
.
.


http://vortex.masmcode.com/files/dll2solinc10.zip

dll2solinc is instructed to skip some exported symbols with leading question mark. The include files created by this tool are intended for general purpose Win32 API programming.

BogdanOntanu

Ambition is a lame excuse for the ones not brave enough to be lazy.
http://www.oby.ro

Vortex

Version 1.1 :

http://vortex.masmcode.com/files/dll2solinc11.zip

The old V1.0 invoked like the following :

dll2solinc C:\sample\testdll.dll

testdll.inc would be found in the C:\sample directory and this would be the output :

import_dll C:\sample\testdll.dll

import_func func1
import_func func2
        .
        .


The path pointing testdll.dll is not meaningful. Version 1.1 is fixing this issue:

import_dll testdll.dll

import_func func1
import_func func2
        .
        .

testdll.inc is created in the same directory where dll2solinc is executed.