|
6 | 6 |
|
7 | 7 | BOOL CreateTpaBase(LPWSTR** ppNames, size_t* pcNames, bool bNative)
|
8 | 8 | {
|
9 |
| - const size_t count = 32; |
| 9 | + const size_t count = 34; |
10 | 10 | LPWSTR* pArray = new LPWSTR[count];
|
11 | 11 |
|
12 | 12 | if (bNative)
|
13 | 13 | {
|
14 |
| - pArray[0] = _wcsdup(L"mscorlib.ni.dll"); |
15 |
| - pArray[1] = _wcsdup(L"mscorlib.Extensions.ni.dll"); |
16 |
| - pArray[2] = _wcsdup(L"System.ni.dll"); |
17 |
| - pArray[3] = _wcsdup(L"System.AppContext.ni.dll"); |
18 |
| - pArray[4] = _wcsdup(L"System.Collections.ni.dll"); |
19 |
| - pArray[5] = _wcsdup(L"System.Collections.Concurrent.ni.dll"); |
20 |
| - pArray[6] = _wcsdup(L"System.ComponentModel.ni.dll"); |
21 |
| - pArray[7] = _wcsdup(L"System.Console.ni.dll"); |
22 |
| - pArray[8] = _wcsdup(L"System.Core.ni.dll"); |
23 |
| - pArray[9] = _wcsdup(L"System.Diagnostics.Debug.ni.dll"); |
24 |
| - pArray[10] = _wcsdup(L"System.Diagnostics.Tracing.ni.dll"); |
25 |
| - pArray[11] = _wcsdup(L"System.Globalization.ni.dll"); |
26 |
| - pArray[12] = _wcsdup(L"System.IO.ni.dll"); |
27 |
| - pArray[13] = _wcsdup(L"System.IO.FileSystem.ni.dll"); |
28 |
| - pArray[14] = _wcsdup(L"System.IO.FileSystem.Primitives.ni.dll"); |
29 |
| - pArray[15] = _wcsdup(L"System.Linq.ni.dll"); |
30 |
| - pArray[16] = _wcsdup(L"System.Reflection.ni.dll"); |
31 |
| - pArray[17] = _wcsdup(L"System.Reflection.Extensions.ni.dll"); |
32 |
| - pArray[18] = _wcsdup(L"System.Reflection.Primitives.ni.dll"); |
33 |
| - pArray[19] = _wcsdup(L"System.Resources.ResourceManager.ni.dll"); |
34 |
| - pArray[20] = _wcsdup(L"System.Runtime.ni.dll"); |
35 |
| - pArray[21] = _wcsdup(L"System.Runtime.Extensions.ni.dll"); |
36 |
| - pArray[22] = _wcsdup(L"System.Runtime.Handles.ni.dll"); |
37 |
| - pArray[23] = _wcsdup(L"System.Runtime.InteropServices.ni.dll"); |
38 |
| - pArray[24] = _wcsdup(L"System.Runtime.Loader.ni.dll"); |
39 |
| - pArray[25] = _wcsdup(L"System.Text.Encoding.ni.dll"); |
40 |
| - pArray[26] = _wcsdup(L"System.Text.Encoding.Extensions.ni.dll"); |
41 |
| - pArray[27] = _wcsdup(L"System.Text.RegularExpressions.ni.dll"); |
42 |
| - pArray[28] = _wcsdup(L"System.Threading.ni.dll"); |
43 |
| - pArray[29] = _wcsdup(L"System.Threading.Overlapped.ni.dll"); |
44 |
| - pArray[30] = _wcsdup(L"System.Threading.Tasks.ni.dll"); |
45 |
| - pArray[31] = _wcsdup(L"System.Threading.ThreadPool.ni.dll"); |
| 14 | + pArray[0] = _wcsdup(L"Internal.Runtime.Uri.ni.dll"); |
| 15 | + pArray[1] = _wcsdup(L"Internal.Uri.ni.dll"); |
| 16 | + pArray[2] = _wcsdup(L"mscorlib.ni.dll"); |
| 17 | + pArray[3] = _wcsdup(L"mscorlib.Extensions.ni.dll"); |
| 18 | + pArray[4] = _wcsdup(L"System.ni.dll"); |
| 19 | + pArray[5] = _wcsdup(L"System.AppContext.ni.dll"); |
| 20 | + pArray[6] = _wcsdup(L"System.Collections.ni.dll"); |
| 21 | + pArray[7] = _wcsdup(L"System.Collections.Concurrent.ni.dll"); |
| 22 | + pArray[8] = _wcsdup(L"System.ComponentModel.ni.dll"); |
| 23 | + pArray[9] = _wcsdup(L"System.Console.ni.dll"); |
| 24 | + pArray[10] = _wcsdup(L"System.Core.ni.dll"); |
| 25 | + pArray[11] = _wcsdup(L"System.Diagnostics.Debug.ni.dll"); |
| 26 | + pArray[12] = _wcsdup(L"System.Diagnostics.Tracing.ni.dll"); |
| 27 | + pArray[13] = _wcsdup(L"System.Globalization.ni.dll"); |
| 28 | + pArray[14] = _wcsdup(L"System.IO.ni.dll"); |
| 29 | + pArray[15] = _wcsdup(L"System.IO.FileSystem.ni.dll"); |
| 30 | + pArray[16] = _wcsdup(L"System.IO.FileSystem.Primitives.ni.dll"); |
| 31 | + pArray[17] = _wcsdup(L"System.Linq.ni.dll"); |
| 32 | + pArray[18] = _wcsdup(L"System.Reflection.ni.dll"); |
| 33 | + pArray[19] = _wcsdup(L"System.Reflection.Extensions.ni.dll"); |
| 34 | + pArray[20] = _wcsdup(L"System.Reflection.Primitives.ni.dll"); |
| 35 | + pArray[21] = _wcsdup(L"System.Resources.ResourceManager.ni.dll"); |
| 36 | + pArray[22] = _wcsdup(L"System.Runtime.ni.dll"); |
| 37 | + pArray[23] = _wcsdup(L"System.Runtime.Extensions.ni.dll"); |
| 38 | + pArray[24] = _wcsdup(L"System.Runtime.Handles.ni.dll"); |
| 39 | + pArray[25] = _wcsdup(L"System.Runtime.InteropServices.ni.dll"); |
| 40 | + pArray[26] = _wcsdup(L"System.Runtime.Loader.ni.dll"); |
| 41 | + pArray[27] = _wcsdup(L"System.Text.Encoding.ni.dll"); |
| 42 | + pArray[28] = _wcsdup(L"System.Text.Encoding.Extensions.ni.dll"); |
| 43 | + pArray[29] = _wcsdup(L"System.Text.RegularExpressions.ni.dll"); |
| 44 | + pArray[30] = _wcsdup(L"System.Threading.ni.dll"); |
| 45 | + pArray[31] = _wcsdup(L"System.Threading.Overlapped.ni.dll"); |
| 46 | + pArray[32] = _wcsdup(L"System.Threading.Tasks.ni.dll"); |
| 47 | + pArray[33] = _wcsdup(L"System.Threading.ThreadPool.ni.dll"); |
46 | 48 | }
|
47 | 49 | else
|
48 | 50 | {
|
49 |
| - pArray[0] = _wcsdup(L"mscorlib.dll"); |
50 |
| - pArray[1] = _wcsdup(L"mscorlib.Extensions.dll"); |
51 |
| - pArray[2] = _wcsdup(L"System.dll"); |
52 |
| - pArray[3] = _wcsdup(L"System.AppContext.dll"); |
53 |
| - pArray[4] = _wcsdup(L"System.Collections.dll"); |
54 |
| - pArray[5] = _wcsdup(L"System.Collections.Concurrent.dll"); |
55 |
| - pArray[6] = _wcsdup(L"System.ComponentModel.dll"); |
56 |
| - pArray[7] = _wcsdup(L"System.Console.dll"); |
57 |
| - pArray[8] = _wcsdup(L"System.Core.dll"); |
58 |
| - pArray[9] = _wcsdup(L"System.Diagnostics.Debug.dll"); |
59 |
| - pArray[10] = _wcsdup(L"System.Diagnostics.Tracing.dll"); |
60 |
| - pArray[11] = _wcsdup(L"System.Globalization.dll"); |
61 |
| - pArray[12] = _wcsdup(L"System.IO.dll"); |
62 |
| - pArray[13] = _wcsdup(L"System.IO.FileSystem.dll"); |
63 |
| - pArray[14] = _wcsdup(L"System.IO.FileSystem.Primitives.dll"); |
64 |
| - pArray[15] = _wcsdup(L"System.Linq.dll"); |
65 |
| - pArray[16] = _wcsdup(L"System.Reflection.dll"); |
66 |
| - pArray[17] = _wcsdup(L"System.Reflection.Extensions.dll"); |
67 |
| - pArray[18] = _wcsdup(L"System.Reflection.Primitives.dll"); |
68 |
| - pArray[19] = _wcsdup(L"System.Resources.ResourceManager.dll"); |
69 |
| - pArray[20] = _wcsdup(L"System.Runtime.dll"); |
70 |
| - pArray[21] = _wcsdup(L"System.Runtime.Extensions.dll"); |
71 |
| - pArray[22] = _wcsdup(L"System.Runtime.Handles.dll"); |
72 |
| - pArray[23] = _wcsdup(L"System.Runtime.InteropServices.dll"); |
73 |
| - pArray[24] = _wcsdup(L"System.Runtime.Loader.dll"); |
74 |
| - pArray[25] = _wcsdup(L"System.Text.Encoding.dll"); |
75 |
| - pArray[26] = _wcsdup(L"System.Text.Encoding.Extensions.dll"); |
76 |
| - pArray[27] = _wcsdup(L"System.Text.RegularExpressions.dll"); |
77 |
| - pArray[28] = _wcsdup(L"System.Threading.dll"); |
78 |
| - pArray[29] = _wcsdup(L"System.Threading.Overlapped.dll"); |
79 |
| - pArray[30] = _wcsdup(L"System.Threading.Tasks.dll"); |
80 |
| - pArray[31] = _wcsdup(L"System.Threading.ThreadPool.dll"); |
| 51 | + pArray[0] = _wcsdup(L"Internal.Runtime.Uri.dll"); |
| 52 | + pArray[1] = _wcsdup(L"Internal.Uri.dll"); |
| 53 | + pArray[2] = _wcsdup(L"mscorlib.dll"); |
| 54 | + pArray[3] = _wcsdup(L"mscorlib.Extensions.dll"); |
| 55 | + pArray[4] = _wcsdup(L"System.dll"); |
| 56 | + pArray[5] = _wcsdup(L"System.AppContext.dll"); |
| 57 | + pArray[6] = _wcsdup(L"System.Collections.dll"); |
| 58 | + pArray[7] = _wcsdup(L"System.Collections.Concurrent.dll"); |
| 59 | + pArray[8] = _wcsdup(L"System.ComponentModel.dll"); |
| 60 | + pArray[9] = _wcsdup(L"System.Console.dll"); |
| 61 | + pArray[10] = _wcsdup(L"System.Core.dll"); |
| 62 | + pArray[11] = _wcsdup(L"System.Diagnostics.Debug.dll"); |
| 63 | + pArray[12] = _wcsdup(L"System.Diagnostics.Tracing.dll"); |
| 64 | + pArray[13] = _wcsdup(L"System.Globalization.dll"); |
| 65 | + pArray[14] = _wcsdup(L"System.IO.dll"); |
| 66 | + pArray[15] = _wcsdup(L"System.IO.FileSystem.dll"); |
| 67 | + pArray[16] = _wcsdup(L"System.IO.FileSystem.Primitives.dll"); |
| 68 | + pArray[17] = _wcsdup(L"System.Linq.dll"); |
| 69 | + pArray[18] = _wcsdup(L"System.Reflection.dll"); |
| 70 | + pArray[19] = _wcsdup(L"System.Reflection.Extensions.dll"); |
| 71 | + pArray[20] = _wcsdup(L"System.Reflection.Primitives.dll"); |
| 72 | + pArray[21] = _wcsdup(L"System.Resources.ResourceManager.dll"); |
| 73 | + pArray[22] = _wcsdup(L"System.Runtime.dll"); |
| 74 | + pArray[23] = _wcsdup(L"System.Runtime.Extensions.dll"); |
| 75 | + pArray[24] = _wcsdup(L"System.Runtime.Handles.dll"); |
| 76 | + pArray[25] = _wcsdup(L"System.Runtime.InteropServices.dll"); |
| 77 | + pArray[26] = _wcsdup(L"System.Runtime.Loader.dll"); |
| 78 | + pArray[27] = _wcsdup(L"System.Text.Encoding.dll"); |
| 79 | + pArray[28] = _wcsdup(L"System.Text.Encoding.Extensions.dll"); |
| 80 | + pArray[29] = _wcsdup(L"System.Text.RegularExpressions.dll"); |
| 81 | + pArray[30] = _wcsdup(L"System.Threading.dll"); |
| 82 | + pArray[31] = _wcsdup(L"System.Threading.Overlapped.dll"); |
| 83 | + pArray[32] = _wcsdup(L"System.Threading.Tasks.dll"); |
| 84 | + pArray[33] = _wcsdup(L"System.Threading.ThreadPool.dll"); |
81 | 85 | }
|
82 | 86 |
|
83 | 87 | *ppNames = pArray;
|
|
0 commit comments