* Program: BUILD.PRG * Description: Build the Exe for LifeCycle Build Cycle application * Created: 05/07/2004 * Developer: Gregory L Reichert * Copyright: Copyright (c) 2004 GLR Software *------------------------------------------------------------ IF ATC("MERLIN",SYS(0))>0 * CD "c:\lifecycle" ENDIF ON ERROR ON SHUTDOWN CLOSE ALL CLEAR ALL =SYS(3056) && re-read registry CLEAR PROGRAM SET CLASSLIB TO SET PROCEDURE TO SET LIBRARY TO CLOSE DATABASE ALL CLEAR ALL RELEASE ALL EXTENDED CLEAR DLLS CLEAR MEMORY CLEAR RESOURCES =SYS(1104) && purge memory buffer ON ESCAPE SET RESOURCE ON *-------------------------------------------- * Build exe *-------------------------------------------- BUILD APP LCBuild FROM LCBuild RECOMPILE RETURNI did discover that the problem stop when the CLEAR RESOURCES was executed. But also, the other command prior to it must be execute too.