Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: skagget77/cesuite
base: 917212521d
...
head fork: skagget77/cesuite
compare: c90fa144a2
  • 2 commits
  • 10 files changed
  • 0 commit comments
  • 1 contributor
38 CeSuite.sln
View
@@ -40,93 +40,55 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CeList", "Tools\CeList\CeLi
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|Pocket PC 2003 (ARMV4) = Debug|Pocket PC 2003 (ARMV4)
Debug|Win32 = Debug|Win32
- Release|Mixed Platforms = Release|Mixed Platforms
Release|Pocket PC 2003 (ARMV4) = Release|Pocket PC 2003 (ARMV4)
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {1E2009FE-CA2E-40E7-AD83-31BB46671AD2}.Debug|Mixed Platforms.ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
- {1E2009FE-CA2E-40E7-AD83-31BB46671AD2}.Debug|Mixed Platforms.Build.0 = Debug|Pocket PC 2003 (ARMV4)
- {1E2009FE-CA2E-40E7-AD83-31BB46671AD2}.Debug|Mixed Platforms.Deploy.0 = Debug|Pocket PC 2003 (ARMV4)
{1E2009FE-CA2E-40E7-AD83-31BB46671AD2}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
{1E2009FE-CA2E-40E7-AD83-31BB46671AD2}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4)
{1E2009FE-CA2E-40E7-AD83-31BB46671AD2}.Debug|Win32.ActiveCfg = Debug|Win32
{1E2009FE-CA2E-40E7-AD83-31BB46671AD2}.Debug|Win32.Build.0 = Debug|Win32
- {1E2009FE-CA2E-40E7-AD83-31BB46671AD2}.Release|Mixed Platforms.ActiveCfg = Release|Pocket PC 2003 (ARMV4)
- {1E2009FE-CA2E-40E7-AD83-31BB46671AD2}.Release|Mixed Platforms.Build.0 = Release|Pocket PC 2003 (ARMV4)
- {1E2009FE-CA2E-40E7-AD83-31BB46671AD2}.Release|Mixed Platforms.Deploy.0 = Release|Pocket PC 2003 (ARMV4)
{1E2009FE-CA2E-40E7-AD83-31BB46671AD2}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4)
{1E2009FE-CA2E-40E7-AD83-31BB46671AD2}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4)
{1E2009FE-CA2E-40E7-AD83-31BB46671AD2}.Release|Win32.ActiveCfg = Release|Win32
{1E2009FE-CA2E-40E7-AD83-31BB46671AD2}.Release|Win32.Build.0 = Release|Win32
- {FF4436FF-6EAD-4BC0-9E4E-8AAD3520E7E3}.Debug|Mixed Platforms.ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
- {FF4436FF-6EAD-4BC0-9E4E-8AAD3520E7E3}.Debug|Mixed Platforms.Build.0 = Debug|Pocket PC 2003 (ARMV4)
- {FF4436FF-6EAD-4BC0-9E4E-8AAD3520E7E3}.Debug|Mixed Platforms.Deploy.0 = Debug|Pocket PC 2003 (ARMV4)
{FF4436FF-6EAD-4BC0-9E4E-8AAD3520E7E3}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
{FF4436FF-6EAD-4BC0-9E4E-8AAD3520E7E3}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4)
{FF4436FF-6EAD-4BC0-9E4E-8AAD3520E7E3}.Debug|Win32.ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
- {FF4436FF-6EAD-4BC0-9E4E-8AAD3520E7E3}.Release|Mixed Platforms.ActiveCfg = Release|Pocket PC 2003 (ARMV4)
- {FF4436FF-6EAD-4BC0-9E4E-8AAD3520E7E3}.Release|Mixed Platforms.Build.0 = Release|Pocket PC 2003 (ARMV4)
- {FF4436FF-6EAD-4BC0-9E4E-8AAD3520E7E3}.Release|Mixed Platforms.Deploy.0 = Release|Pocket PC 2003 (ARMV4)
{FF4436FF-6EAD-4BC0-9E4E-8AAD3520E7E3}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4)
{FF4436FF-6EAD-4BC0-9E4E-8AAD3520E7E3}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4)
{FF4436FF-6EAD-4BC0-9E4E-8AAD3520E7E3}.Release|Win32.ActiveCfg = Release|Pocket PC 2003 (ARMV4)
- {B7C491D2-45FE-44FB-ADD0-82B75E13B05C}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {B7C491D2-45FE-44FB-ADD0-82B75E13B05C}.Debug|Mixed Platforms.Build.0 = Debug|Win32
{B7C491D2-45FE-44FB-ADD0-82B75E13B05C}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Win32
{B7C491D2-45FE-44FB-ADD0-82B75E13B05C}.Debug|Win32.ActiveCfg = Debug|Win32
{B7C491D2-45FE-44FB-ADD0-82B75E13B05C}.Debug|Win32.Build.0 = Debug|Win32
- {B7C491D2-45FE-44FB-ADD0-82B75E13B05C}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {B7C491D2-45FE-44FB-ADD0-82B75E13B05C}.Release|Mixed Platforms.Build.0 = Release|Win32
{B7C491D2-45FE-44FB-ADD0-82B75E13B05C}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Win32
{B7C491D2-45FE-44FB-ADD0-82B75E13B05C}.Release|Win32.ActiveCfg = Release|Win32
{B7C491D2-45FE-44FB-ADD0-82B75E13B05C}.Release|Win32.Build.0 = Release|Win32
- {4405149F-06D2-43F5-A7AE-0A2119B964B7}.Debug|Mixed Platforms.ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
- {4405149F-06D2-43F5-A7AE-0A2119B964B7}.Debug|Mixed Platforms.Build.0 = Debug|Pocket PC 2003 (ARMV4)
- {4405149F-06D2-43F5-A7AE-0A2119B964B7}.Debug|Mixed Platforms.Deploy.0 = Debug|Pocket PC 2003 (ARMV4)
{4405149F-06D2-43F5-A7AE-0A2119B964B7}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
{4405149F-06D2-43F5-A7AE-0A2119B964B7}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4)
{4405149F-06D2-43F5-A7AE-0A2119B964B7}.Debug|Win32.ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
- {4405149F-06D2-43F5-A7AE-0A2119B964B7}.Release|Mixed Platforms.ActiveCfg = Release|Pocket PC 2003 (ARMV4)
- {4405149F-06D2-43F5-A7AE-0A2119B964B7}.Release|Mixed Platforms.Build.0 = Release|Pocket PC 2003 (ARMV4)
- {4405149F-06D2-43F5-A7AE-0A2119B964B7}.Release|Mixed Platforms.Deploy.0 = Release|Pocket PC 2003 (ARMV4)
{4405149F-06D2-43F5-A7AE-0A2119B964B7}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4)
{4405149F-06D2-43F5-A7AE-0A2119B964B7}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4)
{4405149F-06D2-43F5-A7AE-0A2119B964B7}.Release|Win32.ActiveCfg = Release|Pocket PC 2003 (ARMV4)
- {8E8016DF-77FD-453D-A653-16BEEE85B21B}.Debug|Mixed Platforms.ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
- {8E8016DF-77FD-453D-A653-16BEEE85B21B}.Debug|Mixed Platforms.Build.0 = Debug|Pocket PC 2003 (ARMV4)
- {8E8016DF-77FD-453D-A653-16BEEE85B21B}.Debug|Mixed Platforms.Deploy.0 = Debug|Pocket PC 2003 (ARMV4)
{8E8016DF-77FD-453D-A653-16BEEE85B21B}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
{8E8016DF-77FD-453D-A653-16BEEE85B21B}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4)
{8E8016DF-77FD-453D-A653-16BEEE85B21B}.Debug|Win32.ActiveCfg = Debug|Win32
{8E8016DF-77FD-453D-A653-16BEEE85B21B}.Debug|Win32.Build.0 = Debug|Win32
- {8E8016DF-77FD-453D-A653-16BEEE85B21B}.Release|Mixed Platforms.ActiveCfg = Release|Pocket PC 2003 (ARMV4)
- {8E8016DF-77FD-453D-A653-16BEEE85B21B}.Release|Mixed Platforms.Build.0 = Release|Pocket PC 2003 (ARMV4)
- {8E8016DF-77FD-453D-A653-16BEEE85B21B}.Release|Mixed Platforms.Deploy.0 = Release|Pocket PC 2003 (ARMV4)
{8E8016DF-77FD-453D-A653-16BEEE85B21B}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4)
{8E8016DF-77FD-453D-A653-16BEEE85B21B}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4)
{8E8016DF-77FD-453D-A653-16BEEE85B21B}.Release|Win32.ActiveCfg = Release|Win32
{8E8016DF-77FD-453D-A653-16BEEE85B21B}.Release|Win32.Build.0 = Release|Win32
- {98ACF19A-1ED5-44EF-B995-3CDB01104DC7}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {98ACF19A-1ED5-44EF-B995-3CDB01104DC7}.Debug|Mixed Platforms.Build.0 = Debug|Win32
{98ACF19A-1ED5-44EF-B995-3CDB01104DC7}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Win32
{98ACF19A-1ED5-44EF-B995-3CDB01104DC7}.Debug|Win32.ActiveCfg = Debug|Win32
{98ACF19A-1ED5-44EF-B995-3CDB01104DC7}.Debug|Win32.Build.0 = Debug|Win32
- {98ACF19A-1ED5-44EF-B995-3CDB01104DC7}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {98ACF19A-1ED5-44EF-B995-3CDB01104DC7}.Release|Mixed Platforms.Build.0 = Release|Win32
{98ACF19A-1ED5-44EF-B995-3CDB01104DC7}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Win32
{98ACF19A-1ED5-44EF-B995-3CDB01104DC7}.Release|Win32.ActiveCfg = Release|Win32
{98ACF19A-1ED5-44EF-B995-3CDB01104DC7}.Release|Win32.Build.0 = Release|Win32
- {ACE6632C-9408-4A8D-A857-585830B03873}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {ACE6632C-9408-4A8D-A857-585830B03873}.Debug|Mixed Platforms.Build.0 = Debug|Win32
{ACE6632C-9408-4A8D-A857-585830B03873}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Win32
{ACE6632C-9408-4A8D-A857-585830B03873}.Debug|Win32.ActiveCfg = Debug|Win32
{ACE6632C-9408-4A8D-A857-585830B03873}.Debug|Win32.Build.0 = Debug|Win32
- {ACE6632C-9408-4A8D-A857-585830B03873}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {ACE6632C-9408-4A8D-A857-585830B03873}.Release|Mixed Platforms.Build.0 = Release|Win32
{ACE6632C-9408-4A8D-A857-585830B03873}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Win32
{ACE6632C-9408-4A8D-A857-585830B03873}.Release|Win32.ActiveCfg = Release|Win32
{ACE6632C-9408-4A8D-A857-585830B03873}.Release|Win32.Build.0 = Release|Win32
2  Libs/Registry/include/Registry/RegistryException.h
View
@@ -37,7 +37,7 @@ namespace Registry
* \ingroup Registry
* \brief RegistryException class.
*/
- class REGISTRY_API RegistryException : Core::CoreException
+ class REGISTRY_API RegistryException : public Core::CoreException
{
public :
/*!
12 Libs/Remote/Remote.vcproj
View
@@ -40,7 +40,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories="$(ActiveSyncIncludeDir);$(CoreIncludeDir);$(DebugIncludeDir)"
+ AdditionalIncludeDirectories="$(ActiveSyncIncludeDir);$(CoreIncludeDir);$(RegistryIncludeDir)"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
MinimalRebuild="true"
RuntimeLibrary="3"
@@ -100,7 +100,7 @@
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
- AdditionalIncludeDirectories="$(ActiveSyncIncludeDir);$(CoreIncludeDir)"
+ AdditionalIncludeDirectories="$(ActiveSyncIncludeDir);$(CoreIncludeDir);$(RegistryIncludeDir)"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
@@ -213,6 +213,14 @@
RelativePath=".\src\RemoteImpl.h"
>
</File>
+ <File
+ RelativePath=".\src\RemoteRegistryImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\RemoteRegistryImpl.h"
+ >
+ </File>
</Filter>
</Files>
<Globals>
1  Libs/Remote/src/PreCompile.h
View
@@ -36,6 +36,7 @@
#include <Rapi2.h>
#include "Core/CoreApi.h"
+#include "Registry/RegistryApi.h"
#include "Remote/RemoteApi.h"
#pragma comment(lib, "rapi")
10 Tools/CeAgent/src/Main.cpp
View
@@ -21,7 +21,7 @@
* \file
* \author Johan Andersson <skagget77@gmail.com>
* \date 2010-04-13 22:38
- * \brief CeAgent entry point.
+ * \brief CeAgent.
*/
#include "PreCompile.h"
@@ -58,7 +58,7 @@ void RunProcess( const std::wstring& name, const std::wstring& file, const std::
if(CreateProcess(file.c_str(), args.c_str(), 0, 0, 0, DEBUG_PROCESS, 0, 0, 0, &procinfo))
{
IDebuggerPtr debugger = CreateDebugger(
- IDebugListenerPtr(new ProcessMonitor(CreateRegistry(L"Software\\CeDebug"), name)));
+ IDebugListenerPtr(new ProcessMonitor(CreateRegistry(L"Software\\CeAgent"), name)));
while(debugger->Wait());
}
@@ -83,9 +83,9 @@ int WINAPI WinMain( HINSTANCE instance, HINSTANCE prevInstance, LPWSTR cmdLine,
{
IParserPtr parser = CreateParser(cmdLine, true);
- std::wstring name = parser->GetValue(L"/NAME");
- std::wstring file = parser->GetValue(L"/FILE");
- std::wstring args = parser->GetValue(L"/ARGS", L"");
+ std::wstring name = parser->GetValue(L"/name");
+ std::wstring file = parser->GetValue(L"/path");
+ std::wstring args = parser->GetValue(L"/args", L"");
RunProcess(name, file, args);
}
14 Tools/CeRun/CeRun.vcproj
View
@@ -18,8 +18,6 @@
<Configurations>
<Configuration
Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)Bin\$(ConfigurationName)"
- IntermediateDirectory="$(SolutionDir)Bin\$(ConfigurationName)\Tmp\$(ProjectName)"
ConfigurationType="1"
InheritedPropertySheets="$(SolutionDir)Props\Windows.vsprops"
CharacterSet="1"
@@ -42,10 +40,9 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories="$(ActiveSyncIncludeDir)"
+ AdditionalIncludeDirectories="$(CoreIncludeDir);$(RemoteIncludeDir)"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
MinimalRebuild="true"
- BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="PreCompile.h"
@@ -64,7 +61,6 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="rapi.lib rapiuuid.lib"
LinkIncremental="2"
AdditionalLibraryDirectories="$(ActiveSyncLibDir)"
IgnoreDefaultLibraryNames="libc.lib, libcmt.lib, msvcrt.lib, libcd.lib, libcmtd.lib"
@@ -96,8 +92,6 @@
</Configuration>
<Configuration
Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
InheritedPropertySheets="$(SolutionDir)Props\Windows.vsprops"
CharacterSet="1"
@@ -122,12 +116,10 @@
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
+ AdditionalIncludeDirectories="$(CoreIncludeDir);$(RemoteIncludeDir)"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
WarningLevel="3"
- DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@@ -141,6 +133,8 @@
<Tool
Name="VCLinkerTool"
LinkIncremental="1"
+ AdditionalLibraryDirectories="$(ActiveSyncLibDir)"
+ IgnoreDefaultLibraryNames="libc.lib;libcmt.lib;msvcrtd.lib;libcd.lib;libcmtd.lib"
GenerateDebugInformation="true"
SubSystem="1"
OptimizeReferences="2"
36 Tools/CeRun/src/CeRunFwd.h
View
@@ -1,16 +1,30 @@
+/*
+ * This file is part of CeSuite.
+ *
+ * CeSuite is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * CeSuite is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with CeSuite. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Copyright 2010 Johan Andersson.
+ */
+
+/*!
+ * \file
+ * \author Johan Andersson <skagget77@gmail.com>
+ * \date 2010-10-03 10:49
+ * \brief CeRun forward declarations.
+ */
#if !defined(CERUN_CERUNFWD_H)
#define CERUN_CERUNFWD_H
-#include <AtlBase.h>
-
-struct IRAPIDesktop;
-typedef CComPtr<IRAPIDesktop> IRAPIDesktopPtr;
-
-struct IRAPIEnumDevices;
-typedef CComPtr<IRAPIEnumDevices> IRAPIEnumDevicesPtr;
-
-struct IRAPIDevice;
-typedef CComPtr<IRAPIDevice> IRAPIDevicePtr;
-
#endif // CERUN_CERUNFWD_H
73 Tools/CeRun/src/Main.cpp
View
@@ -1,38 +1,65 @@
+/*
+ * This file is part of CeSuite.
+ *
+ * CeSuite is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * CeSuite is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with CeSuite. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Copyright 2010 Johan Andersson.
+ */
+
+/*!
+ * \file
+ * \author Johan Andersson <skagget77@gmail.com>
+ * \date 2010-10-03 10:49
+ * \brief CeRun.
+ */
#include "PreCompile.h"
#include "CeRunFwd.h"
+#include "Core/CoreException.h"
+#include "Remote/Device.h"
+#include "Remote/Remote.h"
+#include "Remote/RemoteException.h"
+#include "Remote/RemoteFactory.h"
#include <AtlBase.h>
-
#include <iostream>
+
+using namespace Remote;
+
+
int wmain()
{
- CoInitializeEx(0, COINIT_MULTITHREADED);
+ if(CoInitializeEx(0, COINIT_MULTITHREADED) == S_OK)
{
- IRAPIDesktopPtr rapidesktop;
-
- if(rapidesktop.CoCreateInstance(CLSID_RAPI) == S_OK)
- {
- IRAPIEnumDevicesPtr enumdevices;
-
- if(rapidesktop->EnumDevices(&enumdevices) == S_OK)
- {
- IRAPIDevicePtr device;
+ try
+ {
+ IRemotePtr remote = CreateRemote();
- if(enumdevices->Next(&device) == S_OK)
- {
- RAPI_DEVICEINFO devinfo;
+ IDeviceCollection coll = remote->ListDevices();
- device->GetDeviceInfo(&devinfo);
+ for(IDeviceCollection::const_iterator it = coll.begin(); it != coll.end(); ++it)
+ {
+ (*it)->Execute(L"\\CeAgent.exe", L"/name monkey /file \\TestWM5.exe");
+ //(*it)->CopyFileTo(L"d:\\git\\cesuite\\Bin\\Debug\\Pocket PC 2003 (ARMV4)\\CeAgent.exe", L"\\CeAgent2.exe");
+ }
+ }
+ catch(Core::CoreException& e)
+ {
+ std::wcout << L"Caught exception: '" << e.GetDetails() << L"'" << std::endl;
+ }
- std::wcout << "Name......: " << devinfo.bstrName << std::endl
- << "Plaform...: " << devinfo.bstrPlatform << std::endl
- << "Version...: " << devinfo.dwOsVersionMajor << "."
- << devinfo.dwOsVersionMinor << std::endl;
- }
- }
- }
+ CoUninitialize();
}
- CoUninitialize();
}
25 Tools/CeRun/src/PreCompile.cpp
View
@@ -1,2 +1,27 @@
+/*
+ * This file is part of CeSuite.
+ *
+ * CeSuite is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * CeSuite is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with CeSuite. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Copyright 2010 Johan Andersson.
+ */
+
+/*!
+ * \file
+ * \author Johan Andersson <skagget77@gmail.com>
+ * \date 2010-10-03 10:49
+ * \brief CeRun precompiled header.
+ */
#include "PreCompile.h"
29 Tools/CeRun/src/PreCompile.h
View
@@ -1,8 +1,33 @@
+/*
+ * This file is part of CeSuite.
+ *
+ * CeSuite is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * CeSuite is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with CeSuite. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Copyright 2010 Johan Andersson.
+ */
+
+/*!
+ * \file
+ * \author Johan Andersson <skagget77@gmail.com>
+ * \date 2010-10-03 10:49
+ * \brief CeRun precompiled header.
+ */
#if !defined(CERUN_PRECOMPILE_H)
#define CERUN_PRECOMPILE_H
-#include <WinSock2.h>
-#include <Rapi2.h>
+#include "Core/CoreApi.h"
+#include "Remote/RemoteApi.h"
#endif // CERUN_PRECOMPILE_H

No commit comments for this range

Something went wrong with that request. Please try again.