@echo off echo Building Resources... rc /r /fo ".\BanControl.res" ..\res\BanControl.rc echo Building ANSI version... \masm32\bin\ml /nologo /c /coff /Zi /Fl /Fm /Cp ..\plugin\BanControl.asm if errorlevel 1 goto errasm \masm32\bin\Link /nologo /DEBUG /DEBUGTYPE:CV /DLL /DEF:..\plugin\BanControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib BanControl.obj BanControl.res if errorlevel 1 goto errlink move /Y BanControl.dll ..\bin\BanControlA_d.dll \masm32\bin\ml /nologo /c /coff /Cp ..\plugin\BanControl.asm if errorlevel 1 goto errasm \masm32\bin\Link /nologo /DLL /DEF:..\plugin\BanControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib BanControl.obj BanControl.res if errorlevel 1 goto errlink move /Y BanControl.dll ..\bin\BanControlA.dll echo Building Unicode version... \masm32\bin\ml /nologo /D_UNICODE /c /coff /Zi /Fl /Fm /Cp ..\plugin\BanControl.asm if errorlevel 1 goto errasm \masm32\bin\Link /nologo /DEBUG /DEBUGTYPE:CV /DLL /DEF:..\plugin\BanControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib BanControl.obj BanControl.res if errorlevel 1 goto errlink move /Y BanControl.dll ..\bin\BanControlW_d.dll \masm32\bin\ml /nologo /D_UNICODE /c /coff /Cp ..\plugin\BanControl.asm if errorlevel 1 goto errasm \masm32\bin\Link /nologo /DLL /DEF:..\plugin\BanControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib BanControl.obj BanControl.res if errorlevel 1 goto errlink move /Y BanControl.dll ..\bin\BanControlW.dll Echo Done. cd goto TheEnd :errasm echo _ echo Assembly Error goto TheEnd :errlink echo _ echo Link Error :TheEnd pause