Rev 1 |
Details |
Compare with Previous |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 1 |
cycrow |
1 |
// XspConvert.cpp : main project file.
|
|
|
2 |
|
|
|
3 |
#include "stdafx.h"
|
|
|
4 |
#include "Form1.h"
|
|
|
5 |
|
|
|
6 |
using namespace XspConvert;
|
|
|
7 |
|
|
|
8 |
[STAThreadAttribute]
|
|
|
9 |
int main(array<System::String ^> ^args)
|
|
|
10 |
{
|
|
|
11 |
// Enabling Windows XP visual effects before any controls are created
|
|
|
12 |
Application::EnableVisualStyles();
|
|
|
13 |
Application::SetCompatibleTextRenderingDefault(false);
|
|
|
14 |
|
|
|
15 |
System::String ^openPackage;
|
|
|
16 |
for ( int i = 0; i < args->Length; i++ )
|
|
|
17 |
openPackage = args[i];
|
|
|
18 |
|
|
|
19 |
// Create the main window and run it
|
|
|
20 |
Application::Run(gcnew Form1(openPackage));
|
|
|
21 |
return 0;
|
|
|
22 |
}
|