@echo off echo ' echo Building Resources... rc /r /fo ".\DspControl.res" ..\res\DspControl.rc echo ' echo Building ANSI version... \masm32\bin\ml /nologo /c /coff /Zi /Fl /Fm /Cp ..\plugin\DspControl.asm if errorlevel 1 goto errasm \masm32\bin\Link /nologo /DEBUG /DEBUGTYPE:CV /DLL /DEF:..\plugin\DspControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib /OUT:"Debug\ANSI\DspControl.dll" DspControl.obj DspControl.res if errorlevel 1 goto errlink echo ' echo Building Unicode version... \masm32\bin\ml /nologo /D_UNICODE /c /coff /Zi /Fl /Fm /Cp ..\plugin\DspControl.asm if errorlevel 1 goto errasm \masm32\bin\Link /nologo /DEBUG /DEBUGTYPE:CV /DLL /DEF:..\plugin\DspControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib /OUT:"Debug\Unicode\DspControl.dll" DspControl.obj DspControl.res if errorlevel 1 goto errlink echo ' echo Done. goto TheEnd :errasm echo ' echo Assembly Error goto TheEnd :errlink echo ' echo Link Error :TheEnd pause