Index: ch.vc90.sln
===================================================================
diff -u -r8bf223e9f8ab564d95bef4eb4f64a9c6628f62f9 -r2eabdea6d63640f34fb1f8bcf928336cc1a660af
--- ch.vc90.sln (.../ch.vc90.sln) (revision 8bf223e9f8ab564d95bef4eb4f64a9c6628f62f9)
+++ ch.vc90.sln (.../ch.vc90.sln) (revision 2eabdea6d63640f34fb1f8bcf928336cc1a660af)
@@ -2,10 +2,10 @@
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ch", "src\ch\ch.vc90.vcproj", "{4B215B9A-58CA-4987-AC95-7DFC3043E100}"
ProjectSection(ProjectDependencies) = postProject
+ {CBBF380B-7B16-4A1E-8194-758DAD7D8011} = {CBBF380B-7B16-4A1E-8194-758DAD7D8011}
{5510B933-046F-4F75-8B46-5E8279C8CCDE} = {5510B933-046F-4F75-8B46-5E8279C8CCDE}
{DD1F3242-7EE4-4F41-8B8D-D833300C445F} = {DD1F3242-7EE4-4F41-8B8D-D833300C445F}
{10FB6B7E-81A1-47F9-BC6F-7017E5695D3A} = {10FB6B7E-81A1-47F9-BC6F-7017E5695D3A}
- {7CE8B0C5-8CD4-4551-ACBF-EC4749E15E69} = {7CE8B0C5-8CD4-4551-ACBF-EC4749E15E69}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "chext", "src\chext\chext.vc90.vcproj", "{7CE8B0C5-8CD4-4551-ACBF-EC4749E15E69}"
@@ -31,6 +31,11 @@
{DD1F3242-7EE4-4F41-8B8D-D833300C445F} = {DD1F3242-7EE4-4F41-8B8D-D833300C445F}
EndProjectSection
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchcore", "src\libchcore\libchcore.vc90.vcproj", "{CBBF380B-7B16-4A1E-8194-758DAD7D8011}"
+ ProjectSection(ProjectDependencies) = postProject
+ {5510B933-046F-4F75-8B46-5E8279C8CCDE} = {5510B933-046F-4F75-8B46-5E8279C8CCDE}
+ EndProjectSection
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug-Unicode|Win32 = Debug-Unicode|Win32
@@ -87,6 +92,13 @@
{B0292250-B70C-4395-9859-F181FB113DA8}.Release-Unicode|Win32.Build.0 = Release-Unicode|Win32
{B0292250-B70C-4395-9859-F181FB113DA8}.Release-Unicode|x64.ActiveCfg = Release-Unicode|x64
{B0292250-B70C-4395-9859-F181FB113DA8}.Release-Unicode|x64.Build.0 = Release-Unicode|x64
+ {CBBF380B-7B16-4A1E-8194-758DAD7D8011}.Debug-Unicode|Win32.ActiveCfg = Debug-Unicode|Win32
+ {CBBF380B-7B16-4A1E-8194-758DAD7D8011}.Debug-Unicode|Win32.Build.0 = Debug-Unicode|Win32
+ {CBBF380B-7B16-4A1E-8194-758DAD7D8011}.Debug-Unicode|x64.ActiveCfg = Debug-Unicode|x64
+ {CBBF380B-7B16-4A1E-8194-758DAD7D8011}.Debug-Unicode|x64.Build.0 = Debug-Unicode|x64
+ {CBBF380B-7B16-4A1E-8194-758DAD7D8011}.Release-Unicode|Win32.ActiveCfg = Release-Unicode|Win32
+ {CBBF380B-7B16-4A1E-8194-758DAD7D8011}.Release-Unicode|Win32.Build.0 = Release-Unicode|Win32
+ {CBBF380B-7B16-4A1E-8194-758DAD7D8011}.Release-Unicode|x64.ActiveCfg = Release-Unicode|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Index: src/libchcore/dllmain.cpp
===================================================================
diff -u
--- src/libchcore/dllmain.cpp (revision 0)
+++ src/libchcore/dllmain.cpp (revision 2eabdea6d63640f34fb1f8bcf928336cc1a660af)
@@ -0,0 +1,16 @@
+// dllmain.cpp : Defines the entry point for the DLL application.
+#include "stdafx.h"
+
+BOOL APIENTRY DllMain(HMODULE /*hModule*/, DWORD ulReasonForCall, LPVOID /*lpReserved*/)
+{
+ switch (ulReasonForCall)
+ {
+ case DLL_PROCESS_ATTACH:
+ case DLL_THREAD_ATTACH:
+ case DLL_THREAD_DETACH:
+ case DLL_PROCESS_DETACH:
+ break;
+ }
+ return TRUE;
+}
+
Index: src/libchcore/libchcore.cpp
===================================================================
diff -u
--- src/libchcore/libchcore.cpp (revision 0)
+++ src/libchcore/libchcore.cpp (revision 2eabdea6d63640f34fb1f8bcf928336cc1a660af)
@@ -0,0 +1,5 @@
+// libchcore.cpp : Defines the exported functions for the DLL application.
+//
+
+#include "stdafx.h"
+#include "libchcore.h"
Index: src/libchcore/libchcore.h
===================================================================
diff -u
--- src/libchcore/libchcore.h (revision 0)
+++ src/libchcore/libchcore.h (revision 2eabdea6d63640f34fb1f8bcf928336cc1a660af)
@@ -0,0 +1,26 @@
+// The following ifdef block is the standard way of creating macros which make exporting
+// from a DLL simpler. All files within this DLL are compiled with the LIBCHCORE_EXPORTS
+// symbol defined on the command line. this symbol should not be defined on any project
+// that uses this DLL. This way any other project whose source files include this file see
+// LIBCHCORE_API functions as being imported from a DLL, whereas this DLL sees symbols
+// defined with this macro as being exported.
+#if defined(_WIN32) || defined(_WIN64)
+ #ifdef LIBCHCORE_EXPORTS
+ #define LIBCHCORE_API __declspec(dllexport)
+ #else
+ #define LIBCHCORE_API __declspec(dllimport)
+ #endif
+#else
+ /** \brief Import/export macros
+ *
+ * These macros are being used throughout the whole code. They are meant to
+ * export symbols (if the LIBCHCORE_EXPORTS is defined) from this library
+ * (also for importing (when LIBCHCORE_EXPORTS macro is undefined) in other apps).
+ */
+ #define LIBCHCORE_API
+#endif
+
+/// Begins ch namespace
+#define BEGIN_CHCORE_NAMESPACE namespace chcore {
+/// Ends ch namespace
+#define END_CHCORE_NAMESPACE }
Index: src/libchcore/libchcore.vc90.vcproj
===================================================================
diff -u
--- src/libchcore/libchcore.vc90.vcproj (revision 0)
+++ src/libchcore/libchcore.vc90.vcproj (revision 2eabdea6d63640f34fb1f8bcf928336cc1a660af)
@@ -0,0 +1,441 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: src/libchcore/stdafx.cpp
===================================================================
diff -u
--- src/libchcore/stdafx.cpp (revision 0)
+++ src/libchcore/stdafx.cpp (revision 2eabdea6d63640f34fb1f8bcf928336cc1a660af)
@@ -0,0 +1,8 @@
+// stdafx.cpp : source file that includes just the standard includes
+// libchcore.pch will be the pre-compiled header
+// stdafx.obj will contain the pre-compiled type information
+
+#include "stdafx.h"
+
+// TODO: reference any additional headers you need in STDAFX.H
+// and not in this file
Index: src/libchcore/stdafx.h
===================================================================
diff -u
--- src/libchcore/stdafx.h (revision 0)
+++ src/libchcore/stdafx.h (revision 2eabdea6d63640f34fb1f8bcf928336cc1a660af)
@@ -0,0 +1,16 @@
+// stdafx.h : include file for standard system include files,
+// or project specific include files that are used frequently, but
+// are changed infrequently
+//
+
+#pragma once
+
+#include "targetver.h"
+
+#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+// Windows Header Files:
+#include
+
+
+
+// TODO: reference additional headers your program requires here
Index: src/libchcore/targetver.h
===================================================================
diff -u
--- src/libchcore/targetver.h (revision 0)
+++ src/libchcore/targetver.h (revision 2eabdea6d63640f34fb1f8bcf928336cc1a660af)
@@ -0,0 +1,24 @@
+#pragma once
+
+// The following macros define the minimum required platform. The minimum required platform
+// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
+// your application. The macros work by enabling all features available on platform versions up to and
+// including the version specified.
+
+// Modify the following defines if you have to target a platform prior to the ones specified below.
+// Refer to MSDN for the latest info on corresponding values for different platforms.
+#ifndef WINVER // Specifies that the minimum required platform is Windows Vista.
+#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows.
+#endif
+
+#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
+#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
+#endif
+
+#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98.
+#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
+#endif
+
+#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0.
+#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE.
+#endif