rautomation 0.7.3 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. data/.gitignore +9 -8
  2. data/Gemfile.lock +2 -2
  3. data/History.rdoc +13 -0
  4. data/README.rdoc +3 -2
  5. data/Rakefile +30 -10
  6. data/VERSION +1 -1
  7. data/ext/UiaDll/Release/UiaDll.dll +0 -0
  8. data/ext/UiaDll/UiaDll/AssemblyInfo.cpp +40 -0
  9. data/ext/UiaDll/UiaDll/AutomatedComboBox.cpp +66 -0
  10. data/ext/UiaDll/UiaDll/AutomatedComboBox.h +32 -0
  11. data/ext/UiaDll/UiaDll/AutomatedTable.cpp +50 -0
  12. data/ext/UiaDll/UiaDll/AutomatedTable.h +22 -0
  13. data/ext/UiaDll/UiaDll/AutomationClicker.cpp +50 -0
  14. data/ext/UiaDll/UiaDll/AutomationClicker.h +24 -0
  15. data/ext/UiaDll/UiaDll/ExpandCollapseHelper.cpp +53 -0
  16. data/ext/UiaDll/UiaDll/ExpandCollapseHelper.h +22 -0
  17. data/ext/UiaDll/UiaDll/MenuItemSelector.cpp +75 -0
  18. data/ext/UiaDll/UiaDll/MenuItemSelector.h +22 -0
  19. data/ext/UiaDll/UiaDll/ReadMe.txt +8 -18
  20. data/ext/UiaDll/UiaDll/StringHelper.cpp +9 -0
  21. data/ext/UiaDll/UiaDll/StringHelper.h +7 -0
  22. data/ext/UiaDll/UiaDll/ToggleStateHelper.cpp +33 -0
  23. data/ext/UiaDll/UiaDll/ToggleStateHelper.h +10 -0
  24. data/ext/UiaDll/UiaDll/UiaDll.cpp +458 -325
  25. data/ext/UiaDll/UiaDll/UiaDll.h +13 -0
  26. data/ext/UiaDll/UiaDll/UiaDll.vcxproj +45 -28
  27. data/ext/UiaDll/UiaDll/UiaDll.vcxproj.filters +66 -7
  28. data/ext/UiaDll/UiaDll/app.ico +0 -0
  29. data/ext/UiaDll/UiaDll/app.rc +0 -0
  30. data/ext/UiaDll/UiaDll/dllmain.cpp +5 -23
  31. data/ext/UiaDll/UiaDll/resource.h +3 -0
  32. data/ext/UiaDll/UiaDll/stdafx.cpp +0 -3
  33. data/ext/UiaDll/UiaDll/stdafx.h +23 -18
  34. data/ext/UiaDll/UiaDll.sln +6 -6
  35. data/ext/WindowsForms/Release/WindowsForms.exe +0 -0
  36. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/AboutBox.Designer.cs +0 -0
  37. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/AboutBox.cs +0 -0
  38. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/AboutBox.resx +0 -0
  39. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/DataEntryForm.Designer.cs +0 -0
  40. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/DataEntryForm.cs +0 -0
  41. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/DataEntryForm.resx +0 -0
  42. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/MainFormWindow.Designer.cs +173 -76
  43. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/MainFormWindow.cs +76 -77
  44. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/MainFormWindow.resx +3 -0
  45. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/PersonForm.Designer.cs +0 -0
  46. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/PersonForm.cs +0 -0
  47. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/PersonForm.resx +0 -0
  48. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/Program.cs +0 -0
  49. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/Properties/AssemblyInfo.cs +0 -0
  50. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/Properties/Resources.Designer.cs +0 -0
  51. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/Properties/Resources.resx +0 -0
  52. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/Properties/Settings.Designer.cs +0 -0
  53. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/Properties/Settings.settings +0 -0
  54. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/SimpleElementsForm.Designer.cs +0 -0
  55. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/SimpleElementsForm.cs +0 -0
  56. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/SimpleElementsForm.resx +0 -0
  57. data/ext/WindowsForms/{src/WindowsForms/WindowsForms → WindowsForms}/WindowsForms.csproj +2 -2
  58. data/ext/WindowsForms/{src/WindowsForms/WindowsForms.sln → WindowsForms.sln} +0 -0
  59. data/lib/rautomation/adapter/ms_uia/constants.rb +1 -0
  60. data/lib/rautomation/adapter/ms_uia/control.rb +11 -0
  61. data/lib/rautomation/adapter/ms_uia/functions.rb +8 -5
  62. data/lib/rautomation/adapter/ms_uia/menu.rb +36 -0
  63. data/lib/rautomation/adapter/ms_uia/select_list.rb +4 -12
  64. data/lib/rautomation/adapter/ms_uia/table.rb +90 -11
  65. data/lib/rautomation/adapter/ms_uia/uia_dll.rb +48 -2
  66. data/lib/rautomation/adapter/ms_uia/window.rb +6 -1
  67. data/lib/rautomation/adapter/ms_uia.rb +1 -0
  68. data/spec/adapter/autoit/mouse_spec.rb +2 -2
  69. data/spec/adapter/ms_uia/functions_spec.rb +39 -0
  70. data/spec/adapter/ms_uia/select_list_spec.rb +26 -13
  71. data/spec/adapter/ms_uia/table_spec.rb +96 -2
  72. data/spec/adapter/ms_uia/window_spec.rb +37 -11
  73. data/spec/adapter/win_32/mouse_spec.rb +2 -2
  74. data/spec/adapter/win_32/window_spec.rb +0 -9
  75. data/spec/spec_helper.rb +3 -3
  76. data/spec/window_spec.rb +17 -6
  77. metadata +48 -40
  78. data/ext/ListViewExplorer/ListViewExplorer/ListViewExplorer.cpp +0 -174
  79. data/ext/ListViewExplorer/ListViewExplorer/ListViewExplorer.vcxproj +0 -95
  80. data/ext/ListViewExplorer/ListViewExplorer/ListViewExplorer.vcxproj.filters +0 -42
  81. data/ext/ListViewExplorer/ListViewExplorer/ListViewExplorer.vcxproj.user +0 -3
  82. data/ext/ListViewExplorer/ListViewExplorer/ReadMe.txt +0 -40
  83. data/ext/ListViewExplorer/ListViewExplorer/stdafx.cpp +0 -8
  84. data/ext/ListViewExplorer/ListViewExplorer/stdafx.h +0 -17
  85. data/ext/ListViewExplorer/ListViewExplorer/table_support.cpp +0 -250
  86. data/ext/ListViewExplorer/ListViewExplorer/table_support.h +0 -2
  87. data/ext/ListViewExplorer/ListViewExplorer/targetver.h +0 -8
  88. data/ext/ListViewExplorer/ListViewExplorer.sln +0 -20
  89. data/ext/ListViewExplorer/ListViewExplorer.suo +0 -0
  90. data/ext/UiaDll/UiaDll.suo +0 -0
  91. data/ext/WindowsForms/bin/WindowsForms.exe +0 -0
  92. data/ext/WindowsForms/src/WindowsForms/WindowsForms.suo +0 -0
@@ -0,0 +1,13 @@
1
+ // UiaDll.h
2
+
3
+ #pragma once
4
+
5
+ using namespace System;
6
+
7
+ namespace UiaDll {
8
+
9
+ public ref class Class1
10
+ {
11
+ // TODO: Add your methods for this class here.
12
+ };
13
+ }
@@ -11,20 +11,22 @@
11
11
  </ProjectConfiguration>
12
12
  </ItemGroup>
13
13
  <PropertyGroup Label="Globals">
14
- <ProjectGuid>{8B796959-2EAB-4C6E-BE57-BE1B4BF3298F}</ProjectGuid>
15
- <Keyword>Win32Proj</Keyword>
14
+ <ProjectGuid>{4A06195F-8D10-4384-97C3-86D512C40DE4}</ProjectGuid>
15
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
16
+ <Keyword>ManagedCProj</Keyword>
16
17
  <RootNamespace>UiaDll</RootNamespace>
17
18
  </PropertyGroup>
18
19
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
19
20
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
20
21
  <ConfigurationType>DynamicLibrary</ConfigurationType>
21
22
  <UseDebugLibraries>true</UseDebugLibraries>
23
+ <CLRSupport>true</CLRSupport>
22
24
  <CharacterSet>Unicode</CharacterSet>
23
25
  </PropertyGroup>
24
26
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
25
27
  <ConfigurationType>DynamicLibrary</ConfigurationType>
26
28
  <UseDebugLibraries>false</UseDebugLibraries>
27
- <WholeProgramOptimization>true</WholeProgramOptimization>
29
+ <CLRSupport>true</CLRSupport>
28
30
  <CharacterSet>Unicode</CharacterSet>
29
31
  </PropertyGroup>
30
32
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
@@ -45,59 +47,74 @@
45
47
  </PropertyGroup>
46
48
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
47
49
  <ClCompile>
48
- <PrecompiledHeader>Use</PrecompiledHeader>
49
50
  <WarningLevel>Level3</WarningLevel>
50
51
  <Optimization>Disabled</Optimization>
51
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;UIADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
52
- <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
52
+ <PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
53
+ <PrecompiledHeader>Use</PrecompiledHeader>
53
54
  </ClCompile>
54
55
  <Link>
55
- <SubSystem>Windows</SubSystem>
56
56
  <GenerateDebugInformation>true</GenerateDebugInformation>
57
- <AdditionalDependencies>comsuppw.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
57
+ <AdditionalDependencies>user32.lib;comsuppwd.lib</AdditionalDependencies>
58
58
  </Link>
59
59
  </ItemDefinitionGroup>
60
60
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
61
61
  <ClCompile>
62
62
  <WarningLevel>Level3</WarningLevel>
63
+ <PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
63
64
  <PrecompiledHeader>Use</PrecompiledHeader>
64
- <Optimization>MaxSpeed</Optimization>
65
- <FunctionLevelLinking>true</FunctionLevelLinking>
66
- <IntrinsicFunctions>true</IntrinsicFunctions>
67
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;UIADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
68
- <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
69
65
  </ClCompile>
70
66
  <Link>
71
- <SubSystem>Windows</SubSystem>
72
67
  <GenerateDebugInformation>true</GenerateDebugInformation>
73
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
74
- <OptimizeReferences>true</OptimizeReferences>
75
- <AdditionalDependencies>comsuppw.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
68
+ <AdditionalDependencies>user32.lib;comsuppw.lib</AdditionalDependencies>
76
69
  </Link>
77
70
  </ItemDefinitionGroup>
78
71
  <ItemGroup>
79
- <None Include="ReadMe.txt" />
72
+ <Reference Include="System" />
73
+ <Reference Include="System.Data" />
74
+ <Reference Include="System.Drawing" />
75
+ <Reference Include="System.Windows.Forms" />
76
+ <Reference Include="System.Xml" />
77
+ <Reference Include="UIAutomationClient" />
78
+ <Reference Include="UIAutomationTypes" />
79
+ <Reference Include="WindowsBase" />
80
80
  </ItemGroup>
81
81
  <ItemGroup>
82
+ <ClInclude Include="AutomatedComboBox.h" />
83
+ <ClInclude Include="AutomatedTable.h" />
84
+ <ClInclude Include="AutomationClicker.h" />
85
+ <ClInclude Include="ExpandCollapseHelper.h" />
82
86
  <ClInclude Include="globals.h" />
83
- <ClInclude Include="stdafx.h" />
87
+ <ClInclude Include="MenuItemSelector.h" />
88
+ <ClInclude Include="resource.h" />
89
+ <ClInclude Include="Stdafx.h" />
90
+ <ClInclude Include="StringHelper.h" />
84
91
  <ClInclude Include="targetver.h" />
92
+ <ClInclude Include="ToggleStateHelper.h" />
93
+ <ClInclude Include="UiaDll.h" />
85
94
  </ItemGroup>
86
95
  <ItemGroup>
87
- <ClCompile Include="dllmain.cpp">
88
- <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
89
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
90
- </PrecompiledHeader>
91
- <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
92
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
93
- </PrecompiledHeader>
94
- </ClCompile>
95
- <ClCompile Include="stdafx.cpp">
96
+ <ClCompile Include="AssemblyInfo.cpp" />
97
+ <ClCompile Include="AutomatedComboBox.cpp" />
98
+ <ClCompile Include="AutomatedTable.cpp" />
99
+ <ClCompile Include="AutomationClicker.cpp" />
100
+ <ClCompile Include="dllmain.cpp" />
101
+ <ClCompile Include="ExpandCollapseHelper.cpp" />
102
+ <ClCompile Include="MenuItemSelector.cpp" />
103
+ <ClCompile Include="Stdafx.cpp">
96
104
  <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
97
105
  <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
98
106
  </ClCompile>
107
+ <ClCompile Include="StringHelper.cpp" />
108
+ <ClCompile Include="ToggleStateHelper.cpp" />
99
109
  <ClCompile Include="UiaDll.cpp" />
100
110
  </ItemGroup>
111
+ <ItemGroup>
112
+ <None Include="app.ico" />
113
+ <None Include="ReadMe.txt" />
114
+ </ItemGroup>
115
+ <ItemGroup>
116
+ <ResourceCompile Include="app.rc" />
117
+ </ItemGroup>
101
118
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
102
119
  <ImportGroup Label="ExtensionTargets">
103
120
  </ImportGroup>
@@ -15,28 +15,87 @@
15
15
  </Filter>
16
16
  </ItemGroup>
17
17
  <ItemGroup>
18
- <None Include="ReadMe.txt" />
19
- </ItemGroup>
20
- <ItemGroup>
21
- <ClInclude Include="stdafx.h">
18
+ <ClInclude Include="UiaDll.h">
22
19
  <Filter>Header Files</Filter>
23
20
  </ClInclude>
24
- <ClInclude Include="targetver.h">
21
+ <ClInclude Include="Stdafx.h">
22
+ <Filter>Header Files</Filter>
23
+ </ClInclude>
24
+ <ClInclude Include="resource.h">
25
25
  <Filter>Header Files</Filter>
26
26
  </ClInclude>
27
27
  <ClInclude Include="globals.h">
28
28
  <Filter>Header Files</Filter>
29
29
  </ClInclude>
30
+ <ClInclude Include="targetver.h">
31
+ <Filter>Header Files</Filter>
32
+ </ClInclude>
33
+ <ClInclude Include="AutomatedComboBox.h">
34
+ <Filter>Header Files</Filter>
35
+ </ClInclude>
36
+ <ClInclude Include="ToggleStateHelper.h">
37
+ <Filter>Header Files</Filter>
38
+ </ClInclude>
39
+ <ClInclude Include="MenuItemSelector.h">
40
+ <Filter>Header Files</Filter>
41
+ </ClInclude>
42
+ <ClInclude Include="StringHelper.h">
43
+ <Filter>Header Files</Filter>
44
+ </ClInclude>
45
+ <ClInclude Include="AutomatedTable.h">
46
+ <Filter>Header Files</Filter>
47
+ </ClInclude>
48
+ <ClInclude Include="ExpandCollapseHelper.h">
49
+ <Filter>Header Files</Filter>
50
+ </ClInclude>
51
+ <ClInclude Include="AutomationClicker.h">
52
+ <Filter>Header Files</Filter>
53
+ </ClInclude>
30
54
  </ItemGroup>
31
55
  <ItemGroup>
32
- <ClCompile Include="stdafx.cpp">
56
+ <ClCompile Include="UiaDll.cpp">
33
57
  <Filter>Source Files</Filter>
34
58
  </ClCompile>
35
- <ClCompile Include="UiaDll.cpp">
59
+ <ClCompile Include="AssemblyInfo.cpp">
60
+ <Filter>Source Files</Filter>
61
+ </ClCompile>
62
+ <ClCompile Include="Stdafx.cpp">
36
63
  <Filter>Source Files</Filter>
37
64
  </ClCompile>
38
65
  <ClCompile Include="dllmain.cpp">
39
66
  <Filter>Source Files</Filter>
40
67
  </ClCompile>
68
+ <ClCompile Include="AutomatedComboBox.cpp">
69
+ <Filter>Source Files</Filter>
70
+ </ClCompile>
71
+ <ClCompile Include="ToggleStateHelper.cpp">
72
+ <Filter>Source Files</Filter>
73
+ </ClCompile>
74
+ <ClCompile Include="MenuItemSelector.cpp">
75
+ <Filter>Source Files</Filter>
76
+ </ClCompile>
77
+ <ClCompile Include="StringHelper.cpp">
78
+ <Filter>Source Files</Filter>
79
+ </ClCompile>
80
+ <ClCompile Include="AutomatedTable.cpp">
81
+ <Filter>Source Files</Filter>
82
+ </ClCompile>
83
+ <ClCompile Include="ExpandCollapseHelper.cpp">
84
+ <Filter>Source Files</Filter>
85
+ </ClCompile>
86
+ <ClCompile Include="AutomationClicker.cpp">
87
+ <Filter>Source Files</Filter>
88
+ </ClCompile>
89
+ </ItemGroup>
90
+ <ItemGroup>
91
+ <None Include="ReadMe.txt" />
92
+ <None Include="app.ico">
93
+ <Filter>Resource Files</Filter>
94
+ </None>
95
+ </ItemGroup>
96
+ <ItemGroup>
97
+ <ResourceCompile Include="app.rc">
98
+ <Filter>Resource Files</Filter>
99
+ </ResourceCompile>
41
100
  </ItemGroup>
42
101
  </Project>
Binary file
Binary file
@@ -4,36 +4,18 @@
4
4
  IUIAutomation *pAutomation ;
5
5
 
6
6
  IUIAutomation* getGlobalIUIAutomation() {
7
- return pAutomation ;
8
- }
9
-
10
-
11
- BOOL APIENTRY DllMain( HMODULE hModule,
12
- DWORD ul_reason_for_call,
13
- LPVOID lpReserved
14
- )
15
- {
16
- switch (ul_reason_for_call)
17
- {
18
- case DLL_PROCESS_ATTACH:
19
- case DLL_THREAD_ATTACH:
7
+ if( NULL == pAutomation ) {
20
8
  HRESULT hr ;
21
9
  hr = CoInitialize(NULL) ;
22
10
  if (FAILED(hr)) {
23
11
  printf("UiaDll: CoInitialize failed. hr = 0x%x", hr) ;
24
- return FALSE ;
12
+ return NULL;
25
13
  }
26
14
  hr = CoCreateInstance(__uuidof(CUIAutomation), NULL, CLSCTX_INPROC_SERVER, __uuidof(IUIAutomation), (void**)&pAutomation);
27
15
  if (FAILED(hr)) {
28
16
  printf("UiaDll: CoCreateInstance failed. hr = 0x%x", hr) ;
29
- return FALSE ;
17
+ return NULL;
30
18
  }
31
- break ;
32
- case DLL_THREAD_DETACH:
33
- case DLL_PROCESS_DETACH:
34
- CoUninitialize() ;
35
- break;
36
19
  }
37
- return TRUE;
38
- }
39
-
20
+ return pAutomation ;
21
+ }
@@ -0,0 +1,3 @@
1
+ //{{NO_DEPENDENCIES}}
2
+ // Microsoft Visual C++ generated include file.
3
+ // Used by app.rc
@@ -3,6 +3,3 @@
3
3
  // stdafx.obj will contain the pre-compiled type information
4
4
 
5
5
  #include "stdafx.h"
6
-
7
- // TODO: reference any additional headers you need in STDAFX.H
8
- // and not in this file
@@ -1,19 +1,24 @@
1
- // stdafx.h : include file for standard system include files,
2
- // or project specific include files that are used frequently, but
3
- // are changed infrequently
4
- //
1
+ // stdafx.h : include file for standard system include files,
2
+ // or project specific include files that are used frequently, but
3
+ // are changed infrequently
4
+ //
5
+
6
+ #pragma once
7
+
8
+ #include "targetver.h"
9
+
10
+ #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
11
+ // Windows Header Files:
12
+ #include <windows.h>
13
+ #include <ObjBase.h>
14
+ #include <UIAutomation.h>
15
+ #include <comutil.h>
16
+
17
+ #include <list>
18
+
19
+ #include "globals.h"
20
+
21
+ using namespace System;
22
+ using namespace System::Runtime::InteropServices;
5
23
 
6
- #pragma once
7
-
8
- #include "targetver.h"
9
-
10
- #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
11
- // Windows Header Files:
12
- #include <windows.h>
13
- #include <ObjBase.h>
14
- #include <UIAutomation.h>
15
- #include <comutil.h>
16
-
17
- // TODO: reference additional headers your program requires here
18
-
19
- #include "globals.h"
24
+ #include "StringHelper.h"
@@ -1,7 +1,7 @@
1
1
  
2
2
  Microsoft Visual Studio Solution File, Format Version 11.00
3
- # Visual C++ Express 2010
4
- Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UiaDll", "UiaDll\UiaDll.vcxproj", "{8B796959-2EAB-4C6E-BE57-BE1B4BF3298F}"
3
+ # Visual Studio 2010
4
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UiaDll", "UiaDll\UiaDll.vcxproj", "{4A06195F-8D10-4384-97C3-86D512C40DE4}"
5
5
  EndProject
6
6
  Global
7
7
  GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -9,10 +9,10 @@ Global
9
9
  Release|Win32 = Release|Win32
10
10
  EndGlobalSection
11
11
  GlobalSection(ProjectConfigurationPlatforms) = postSolution
12
- {8B796959-2EAB-4C6E-BE57-BE1B4BF3298F}.Debug|Win32.ActiveCfg = Debug|Win32
13
- {8B796959-2EAB-4C6E-BE57-BE1B4BF3298F}.Debug|Win32.Build.0 = Debug|Win32
14
- {8B796959-2EAB-4C6E-BE57-BE1B4BF3298F}.Release|Win32.ActiveCfg = Release|Win32
15
- {8B796959-2EAB-4C6E-BE57-BE1B4BF3298F}.Release|Win32.Build.0 = Release|Win32
12
+ {4A06195F-8D10-4384-97C3-86D512C40DE4}.Debug|Win32.ActiveCfg = Debug|Win32
13
+ {4A06195F-8D10-4384-97C3-86D512C40DE4}.Debug|Win32.Build.0 = Debug|Win32
14
+ {4A06195F-8D10-4384-97C3-86D512C40DE4}.Release|Win32.ActiveCfg = Release|Win32
15
+ {4A06195F-8D10-4384-97C3-86D512C40DE4}.Release|Win32.Build.0 = Release|Win32
16
16
  EndGlobalSection
17
17
  GlobalSection(SolutionProperties) = preSolution
18
18
  HideSolutionNode = FALSE