home *** CD-ROM | disk | FTP | other *** search
- REM ** Assemble the DLL. I use TASM, but MASM or OPTASM
- REM ** will work fine.
-
- tasm msdosdll /M5
-
- REM ** Link with the LIBW import library so that the DLL can
- REM ** call the Windows kernel.
-
- link msdosdll.obj, msdosdll.dll /ALIGN:16, nul, /nod libw, msdosdll.def
-
- REM ** Give the DLL the "Windows 3.x stamp of approval."
-
- rc msdosdll.dll
-
- REM ** Make an import library (not necessary for VB, but
- REM ** useful for other languages).
-
- implib msdosdll.lib msdosdll.def