//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 1993. // // File: delonr.cxx // // Contents: STGM_DELETEONRELEASE test // // History: 22-Oct-93 DrewB Created // //---------------------------------------------------------------------------- #include "pch.cxx" #pragma hdrstop // #define CINTERFACE TCHAR dfname[_MAX_PATH]; char *dffile = NULL; void check_exist(void) { char nm[_MAX_PATH]; OFSTRUCT of; TTOA(dfname, nm, _MAX_PATH); if (OpenFile(nm, &of, OF_EXIST) != HFILE_ERROR) Fail("File exists\n"); } void RunArgs(int argc, char *argv[]) { int i; for (i = 1; i