@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 /OUT:"..\..\..\Miranda ANSI\plugins\BanControl.dll" BanControl.obj BanControl.res if errorlevel 1 goto errlink 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 /OUT:"..\..\..\plugins\BanControl.dll" BanControl.obj BanControl.res if errorlevel 1 goto errlink Echo Done. goto TheEnd :errasm echo _ echo Assembly Error goto TheEnd :errlink echo _ echo Link Error :TheEnd pause