#include #include #include "server.h" void PrintHelpMessage() { printf("Usage error: I know 3 arguments \n\t\"install\"\n\t\"delete\"\n\t\"app\"\n"); } int _tmain(int argc, TCHAR *argv[]) { printf("\n->Start of parent execution.\n"); if (argc == 2) { if (lstrcmpi(argv[1], TEXT("-c")) == 0) { return 0; } else if (lstrcmpi(argv[1], TEXT("-s")) == 0) { StartShellServer(); return 0; } else { PrintHelpMessage(); return -1; } } else { PrintHelpMessage(); return -1; } return 0; }