home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / pctchnqs / 1992 / number1 / makedll.bat < prev    next >
DOS Batch File  |  1992-02-18  |  487b  |  19 lines

  1. REM ** Assemble the DLL. I use TASM, but MASM or OPTASM
  2. REM ** will work fine.
  3.  
  4. tasm msdosdll /M5
  5.  
  6. REM ** Link with the LIBW import library so that the DLL can
  7. REM ** call the Windows kernel.
  8.  
  9. link msdosdll.obj, msdosdll.dll /ALIGN:16, nul, /nod libw, msdosdll.def
  10.  
  11. REM ** Give the DLL the "Windows 3.x stamp of approval."
  12.  
  13. rc msdosdll.dll
  14.  
  15. REM ** Make an import library (not necessary for VB, but
  16. REM ** useful for other languages).
  17.  
  18. implib msdosdll.lib msdosdll.def
  19.