c:\> calc95st1.bat
this should procuce the following files :
calc.asm , dlImport.inc , kernel32.def , gdi32.def , user32.def , shell32.def
def files must be processed by a librarian editor : lib or link
lib -machine:I386 /out:kernel32.lib /def:kernel32.def ...
compile and link ( source and makefile are downloadable below ).
rq :
PEDasm is launched with an additional config file
which correct some generated garbadge code .
Modifications tagged with the comment <--modif step2--> consist in adding a constant cteEuroToLocal for french franc to euro parity and several line of code in the window proc to handle buttons pressing. I used the real window manager for that. I also added code to hide these button in normal mode .