blob: 364340baf7d7911f9e7c249caef2e8fb60ada386 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// DemoExe.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
printf("Exe loaded! Printing argc and argv\n\n");
printf("Argc: %d\n", argc);
printf("ArgvAddress: %d\n", argv);
for (int i = 0; i < argc; i++)
{
wprintf(L"Argv: %s\n", argv[i]);
}
printf("Exiting exe\n");
return 0;
}
|