diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tools/OpenSim.32BitLaunch/Program.cs | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/OpenSim/Tools/OpenSim.32BitLaunch/Program.cs b/OpenSim/Tools/OpenSim.32BitLaunch/Program.cs index afd7754..c15b738 100644 --- a/OpenSim/Tools/OpenSim.32BitLaunch/Program.cs +++ b/OpenSim/Tools/OpenSim.32BitLaunch/Program.cs | |||
@@ -1,10 +1,30 @@ | |||
1 | namespace OpenSim._32BitLaunch | 1 | using System; |
2 | |||
3 | namespace OpenSim._32BitLaunch | ||
2 | { | 4 | { |
3 | class Program | 5 | class Program |
4 | { | 6 | { |
5 | static void Main(string[] args) | 7 | static void Main(string[] args) |
6 | { | 8 | { |
7 | OpenSim.Application.Main(args); | 9 | System.Console.WriteLine("32-bit OpenSim executor"); |
10 | System.Console.WriteLine("-----------------------"); | ||
11 | System.Console.WriteLine(""); | ||
12 | System.Console.WriteLine("This application is compiled for 32-bit CPU and will run under WOW32 or similar."); | ||
13 | System.Console.WriteLine("All 64-bit incompatibilities should be gone."); | ||
14 | System.Console.WriteLine(""); | ||
15 | System.Threading.Thread.Sleep(300); | ||
16 | try | ||
17 | { | ||
18 | OpenSim.Application.Main(args); | ||
19 | } | ||
20 | catch (Exception ex) | ||
21 | { | ||
22 | System.Console.WriteLine("OpenSim threw an exception:"); | ||
23 | System.Console.WriteLine(ex.ToString()); | ||
24 | System.Console.WriteLine(""); | ||
25 | System.Console.WriteLine("Application will now terminate!"); | ||
26 | System.Console.WriteLine(""); | ||
27 | } | ||
8 | } | 28 | } |
9 | } | 29 | } |
10 | } | 30 | } |