How do you control how the nmake program creates a debug build or a release build. VC6 comlains of a link error sometimes (LNK4098), which warns of linking the wrong library type to the application. Any help much appreciated, Sincerely, Martin MacRobert