aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/OpenSim.32BitLaunch/Program.cs
blob: c15b738795c22ff5c36cbbaaf39d296e087a4ebf (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
27
28
29
30
using System;

namespace OpenSim._32BitLaunch
{
    class Program
    {
        static void Main(string[] args)
        {
            System.Console.WriteLine("32-bit OpenSim executor");
            System.Console.WriteLine("-----------------------");
            System.Console.WriteLine("");
            System.Console.WriteLine("This application is compiled for 32-bit CPU and will run under WOW32 or similar.");
            System.Console.WriteLine("All 64-bit incompatibilities should be gone.");
            System.Console.WriteLine("");
            System.Threading.Thread.Sleep(300);
            try
            {
                OpenSim.Application.Main(args);
            }
            catch (Exception ex)
            {
                System.Console.WriteLine("OpenSim threw an exception:");
                System.Console.WriteLine(ex.ToString());
                System.Console.WriteLine("");
                System.Console.WriteLine("Application will now terminate!");
                System.Console.WriteLine("");
            }
        }
    }
}