#include "main.h" #include "depends.h" #include "resource.h" // // Code by AaronL // copied most of it from the depends source code. // // // prototypes... // int __cdecl main(int ,char *argv[]); void ShowHelp(void); void ProcessManyFiles(char * szTheDir, char * szTheFileNameOrWildCard); void ProcessOneFile(LPSTR szTempFileName); void OutputToScreen(char * szTheString1, char * szTheString2); // // Globals // int g_Flag_R = FALSE; HINSTANCE g_hModuleHandle = NULL; #define ALL_FILES 0xff //------------------------------------------------------------------- // purpose: main //------------------------------------------------------------------- int __cdecl main(int argc,char *argv[]) { LPSTR pArg = NULL; LPSTR pCmdStart = NULL; int argno; int nflags=0; char szTempFileName[MAX_PATH]; char szTempString[MAX_PATH]; szTempFileName[0] = '\0'; g_hModuleHandle = GetModuleHandle(NULL); // process command line arguments for(argno=1; argno